Bug 368870 - activity switcher shown twice in clone mode
Summary: activity switcher shown twice in clone mode
Status: RESOLVED WORKSFORME
Alias: None
Product: kactivitymanagerd
Classification: Plasma
Component: general (show other bugs)
Version: 5.8.0
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Ivan Čukić
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-09-15 20:47 UTC by Kai Krakow
Modified: 2018-02-11 12:34 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kai Krakow 2016-09-15 20:47:54 UTC
When using two screens in clone mode (either by unifying outputs or matching up both viewports), the activity switcher shows twice when I'm using the switching hotkeys (that one that works like Alt+Tab for windows). It does not happen if I simply bring up the activity manager widget (that one with the single hotkey where I can then click with the mouse).

This also leads to graphical glitches sometimes with the desktop freezing for a short amount of time  but I'm not sure if this is purely coincidental. Just when I tried to reproduce it, my desktop crashed.

Here's a video showing the bug: https://www.youtube.com/watch?v=sge3tv4RmNs
Comment 1 Ivan Čukić 2016-09-18 09:20:19 UTC
Thanks (especially for taking the time to record the video).

I'll see to replicate this - might be a problem of the new screen management stuff.
Comment 2 Kai Uwe Broulik 2016-09-18 09:25:13 UTC
I think the issue is that the Meta+Tab event is handled by all containments and then each one opens its activity switcher, whereas clicking "Activities" only invokes it on the respective containment.
Comment 3 Ivan Čukić 2016-09-18 11:01:10 UTC
You might be right. Though, the question is why do we have two containments in the clone-mode then.
Comment 4 Marco Martin 2016-09-20 14:15:47 UTC
this looks like ShellCorona::reconsiderOutputs() not filtering out correctly the cloned screen.
everything regarding it is changed in 5.8 and i can't reproduce on an identical setup.
Please reopen if the same problem happens in Plasma 5.8 or newer
Comment 5 Kai Krakow 2016-09-21 05:09:27 UTC
(In reply to Ivan Čukić from comment #1)
> Thanks (especially for taking the time to record the video).
> 
> I'll see to replicate this - might be a problem of the new screen management
> stuff.

I think this was already in plasma 5.6 - maybe earlier but I cannot recall. The video was also not recorded with the most recent plasma version. But the problem is still the same.

I'll wait for 5.8 as suggested in comment #4.
Comment 6 Kai Krakow 2016-10-06 17:40:06 UTC
This problem is still present in plasma 5.8.
Comment 7 Kai Krakow 2018-02-11 12:34:15 UTC
I can no longer reproduce this with 5.12.

Part of the solution may have been that I cleaned up the "plasma-org.kde.plasma.desktop-appletsrc" which contained some invalid and duplicate screen numbers (lastScreen). Since some time, those entries didn't seem to creep in again.