Skip to content

Adding feature for alphabetically sorting taskbar buttons by program#1348

Open
aljus7 wants to merge 5 commits intodremin:masterfrom
aljus7:master
Open

Adding feature for alphabetically sorting taskbar buttons by program#1348
aljus7 wants to merge 5 commits intodremin:masterfrom
aljus7:master

Conversation

@aljus7
Copy link
Copy Markdown

@aljus7 aljus7 commented Feb 27, 2026

I am total noob in programming and dont know any of libraries used. But i consulted AI for help. Still dident know how to reset CustomSort to null without restarting, so there is room for improvements.

@aljus7
Copy link
Copy Markdown
Author

aljus7 commented Feb 28, 2026

Also i added setting for specifying wanted order

@SlavaArduino12345
Copy link
Copy Markdown

SlavaArduino12345 commented Mar 5, 2026

I have some questions: Are there any instructions to reproduce this correctly? And how is it supposed to look like? Because the new option in the settings does absolutely nothing other than just restarting the RetroBar itself for no apparent reason and LITERALLY UNHOOKING ITSELF FROM THE DEBUGGER! And yes, I tried adding notepad.exe and calc.exe into the text box in the settings, but it also did nothing useful. Sorry, but you should either learn to REVIEW your OWN AI generated code, or at least explain to us how to reproduce this, because right now as of writing this I have no idea what I am doing wrong.

@aljus7
Copy link
Copy Markdown
Author

aljus7 commented Mar 5, 2026

you need to add notepad.exe, (if its only one app) becouse i check for ',' in that field.
Also turning on group taskbar buttons by program, orders all programs alphabetically

it is also case sensitive so Notepad.exe

i undestand that this implementation is a little jank, ideally there would be some kind of pin button and array of ordering would be done internaly. I dont think that would be hard to do

also when adding things to that field, taskbar needs to be restarted becouse i call setter for that array in constructor of TaskList

@SlavaArduino12345
Copy link
Copy Markdown

image Still doesn't work. Again, if this is supposed to work, what am I doing wrong?

@aljus7
Copy link
Copy Markdown
Author

aljus7 commented Mar 7, 2026

Ah ok, you misunderstood how that grouping looks. It just put's programs with same executable name side by side of eachother. If grouping order is specified then it will respect that, otherwise it will sort them alphabetically. It is not grouping like regular taskbar does it, its still seperate buttons they are just arranged either by order or alphabetically

@SlavaArduino12345
Copy link
Copy Markdown

SlavaArduino12345 commented Mar 7, 2026

Then please rename the PR accordingly, it looks a bit missleading to me, and maybe to others aswell. I thought it was the long awaited grouping feature...
image
image
"Adding feature for alphabetically sorting taskbar buttons by program" should do the trick. Sorry for missunderstanding.

@aljus7 aljus7 changed the title Adding feature for grouping taskbar buttons by program Adding feature for alphabetically sorting taskbar buttons by program Mar 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants