Bug 364914

Summary: New window shows quickly in the wrong screen's task manager, then moves to the correct screen
Product: [Plasma] plasmashell Reporter: Dave Flogeras <dflogeras2>
Component: Task Manager and Icons-Only Task Manager widgetsAssignee: Eike Hein <hein>
Status: RESOLVED FIXED    
Severity: normal CC: mgraesslin, plasma-bugs-null
Priority: NOR    
Version First Reported In: 5.6.95   
Target Milestone: 1.0   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Dave Flogeras 2016-06-29 23:08:07 UTC
I am running a multi monitor setup.  I have a task manager on each screen's panel, and set to only show windows from the current screen, desktop, and activity.

If I open a konsole on the first screen (primary monitor if it matters), for a second the second screen's task manager displays an entry for the window, and just as quickly as the animation is finished, it disappears, reappearing on the correct monitor's task manager.

Reproducible: Always
Comment 1 Eike Hein 2016-06-30 07:43:23 UTC
I think this is unfixable on X11 because startup notifications have no associated screen. We don't know what screen to put it on until the actual window appears. Right now, the notification should be shown in all Task Managers simultaneously, though. You only see "the animation" in one of them?
Comment 2 Martin Flöser 2016-06-30 11:52:11 UTC
> I think this is unfixable on X11 because startup notifications have no associated screen. 

Even on Wayland that doesn't sound fixable.
Comment 3 Dave Flogeras 2016-06-30 11:58:06 UTC
Hmm, there seems to be more to it.  It seems what I am noticing only happens when I use a shortcut.  I use a _LOT_ of konsoles so I have it bound to a keyboard shortcut so I can create them quickly.  This seems to only happen when starting from shortcut.  So here is what happens:

1. Focus is on the first screen
2. Press shortcut
3. On _both_ screen's task managers, an entry quickly appears which just says /usr/bin/konsole, simultaneously an entry appears with the windows actual title (in my case "dave : bash@hostname...").
4. Very quickly, on both screen's task managers, the generic /usr/bin/konsole entries go away.

If I just start console by clicking in the launcher, or via krunner, the transient windows do not appear
Comment 4 Dave Flogeras 2016-07-06 19:03:20 UTC
Closing, it went away with plasma 5.7.0.