kiauh icon indicating copy to clipboard operation
kiauh copied to clipboard

Wrong ordering when installing more than 10 instances

Open XoBoR opened this issue 2 years ago • 1 comments

Linux Distribution

not relevant

What happened

When you install more than 10 instances, due to alphanumeric sorting printer 10 becomes the first instance on port 7125, printer 11 is on 7126 and so on.

What did you expect to happen

ordering by instance number instead of the name of the printer

How to reproduce

install more than 10 instances

Additional information

Not a big issue but it'd still be nicer if this was fixed.

XoBoR avatar Nov 01 '22 14:11 XoBoR

Okay that would indeed make sense in case of "printer_" as instance names. Im just thinking about how to deal with it when there is no index in the name itself, so in case of custom names. I will think about it, but your proposal actually makes sense in the mentioned scenario, yes.

dw-0 avatar Nov 01 '22 16:11 dw-0