I have two virtual desktops (Work and Private) and have two instances of Firefox, each starting with different profile (named the same as virtual desktops: work and private) and I launch them respectively in their desktops. In Icons-Only Task Manager settings, I have enabled “Show only tasks: From the current desktop”. When switching between desktops, I see only the Firefox windows from the respective profile: work on Work desktop, private on Private, also Alt Tab preview behaves correctly - I only see windows from current desktop.
The problem I have is that while I hover over Firefox icon I see previews of all its windows from all the desktops, whereas the proper behavior should be that while being in one desktop I can only see preview of the windows, which actually reside in this desktop. If I manually move respective Firefox windows to designated desktops, then the preview works correctly, but only until Firefox restart.
Interestingly, I do not observe this behavior with other apps (Calc, Chrome).
Can it be something wrong with Firefox? How to diagnose it?
Marek
I have the exact same setup as you do and I had a similar problem: The icons in the task manager would stack. That happens because Plasma uses the program name and not the desktop file the application was launched from to decide which windows should stack.
I solved this with an additional argument which changes the “application name” of Firefox for the private profile:
Note the --name firefox_private part. I am also using another icon to keep them apart visually but that shouldn’t matter. That should solve the stacking problem.
For your problem it’s probably also about configuring the task manager widget in the panel. Check the settings here:
Are they configured to your liking?
Thank you for this hint. It did not solve my issue because some windows from one profile and its virtual desktop do show up as preview on the another, but at least I can now distinguish between the profiles thanks to different icons.
The settings of Icons-Only Task Manager are as on your screenshot.
The positive side effect of your tip is that I can now clearly automate both profiles with Window Rules.