Ubuntu - prevent taskbar icon groupding for child windows
mfrench last edited by
I have a main window (QMainWindow) and several child windows (also QMainWindow) that are initialized on startup and are always around, though invisible at times.
On my taskbar these always group, showing the dots below the application icon, however I'd like to prevent this taskbar/dock grouping and give each window a unique icon on the taskbar while still keeping them all as children of the main window.
Is there a way to prevent icon grouping?
I think the only way is to disable it in the Os. I don't think Qt can alter this from code on an app pr app basic.
JonB last edited by
and give each window a unique icon on the taskbar while still keeping them all as children of the main window.
I hope you can't do that! I don't want your app to be able to cause me to have 10 separate taskbar entries because it has 10 windows open!
mfrench last edited by mfrench
@mrjj My app is running on Ubuntu 18.04, so I was able to figure out how to have it check if the appropriate .desktop file exists and if not, create and move it there. Unfortunately this has been the only way I've figured out for Ubuntu 18.04 to do this without installing other add-ons. While this accomplishes what I want, it's not exactly in the method I'd prefer and would really like to not have to rely on .desktop files if possible.
@JonB My app is running on computers internal to my company only so you'll likely never touch it. The people who use my program most are asking to have this option so I'm simply trying to find the best way to give it to them, preferably internally to Qt and not relying on .desktop files like mentioned above in my comment.
Good find with the desktop file but unless there is also i an API to call ,
i think its the best you can get.