Bug 428489 - no obvious way to dismiss Activity Switcher panel after it accidentally appears
Summary: no obvious way to dismiss Activity Switcher panel after it accidentally appears
Status: RESOLVED WORKSFORME
Alias: None
Product: plasmashell
Classification: Plasma
Component: Activity Switcher sidebar (other bugs)
Version First Reported In: 5.19.5
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: 1.0
Assignee: Ivan Čukić
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-10-31 00:20 UTC by skierpage
Modified: 2020-11-06 09:01 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
activity panel that appears on my two monitors (421.78 KB, image/png)
2020-10-31 00:20 UTC, skierpage
Details
Screenshot (33.31 KB, image/png)
2020-10-31 00:59 UTC, Justin Zobel
Details
now Meta+Tab displays Activities panel with gray area (231.33 KB, image/png)
2020-11-02 00:07 UTC, skierpage
Details

Note You need to log in before you can comment on or make changes to this bug.
Description skierpage 2020-10-31 00:20:32 UTC
Created attachment 132897 [details]
activity panel that appears on my two monitors

SUMMARY
I was trying to open an application menu with the keyboard, and a mystery panel appeared on the left of my screens showing "Default Currently being used". Huh? Then I couldn't get rid of this until I searched the web for the Alt+D+A shortcut.

STEPS TO REPRODUCE
1. Accidentally press Alt+D+A , or Meta+Tab
2. Wonder what just happened
3. Wonder how to make it go away.

OBSERVED RESULTs
A mystery panel appears. It doesn't have a title, it doesn't have any identifying text, it doesn't appear in the list of apps in Task Manager. From the icon I guessed it might be a desktop switcher (which I've only used by accident). Clicking the one big icon "Default" revealed a Configure Settings button which took me to "Activity Settings" which reminded me that KDE has activities (which I've never used); so I think this panel is the Activity Switcher. Anyway, I didn't want it, but couldn't make it go away. The big icon's two buttons did nothing, pressing Esc did nothing, the panel has no right-click context menu, interacting with KDE Plasma left it up, even `pkill kactivitymanagerd` left it up.

EXPECTED RESULT
There must be some way to dismiss unexpected panels! E.g. a lightweight close button. The only way I found to dismiss it is the keyboard shortcut Alt+D+A.

I was repeating this at will a dozen times, and then a couple of times the panel _was_ getting dismissed by clicking outside it or invoking an app menu, which I guess is OK behavior for a transient menu. But now it's back to appearing and staying open.

SOFTWARE/OS VERSIONS

Linux/KDE Plasma: 
KDE Plasma Version: 5.19.5
KDE Frameworks Version: 5.73.0
Qt Version: 5.15.1, xcb

ADDITIONAL INFORMATION
I have a dual monitor setup. I upgraded my Fedora KDE Spin to Fedora 33 two days ago.

Looking in journalctl, there are a few benign messages from "apps-kcm-activities-blahblah.scope" and various yellow warnings from file:///usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/windowswitcher/WindowSwitcher.qml
Comment 1 Justin Zobel 2020-10-31 00:59:12 UTC
Created attachment 132898 [details]
Screenshot

There's certainly something wrong as there should be a title above the Activity with search, settings and a close button (see screenshot).

What global theme are you using?
Comment 2 Justin Zobel 2020-11-01 01:17:47 UTC
.
Comment 3 skierpage 2020-11-01 23:36:45 UTC
(In reply to Justin Zobel from comment #1)
> There's certainly something wrong as there should be a title above the
> Activity with search, settings and a close button (see screenshot).

There definitely wasn't as you can see from my screenshot. But now if I press Alt+D+A there is, it looks much like your screenshot, and clicking outside reliably dismisses it (and it only appears on one screen). Wahoo! _However_, if I press WinKey+Tab, I still get the buggy behavior: the Activities panel appears (on both screens) without the title bar with controls, and clicking outside doesn't dismiss. So maybe it's fixed for Alt+D+A but not Meta+Tab, or there's some intermittency/indeterminacy.

> What global theme are you using?
No idea... (checks) Breeze, with Plasma Style of Fedora Twenty Five "Follows color scheme" and Application Style of Breeze.

Thanks for your response ❤.
Comment 4 Justin Zobel 2020-11-01 23:46:03 UTC
(In reply to skierpage from comment #3)
> (In reply to Justin Zobel from comment #1)
> > There's certainly something wrong as there should be a title above the
> > Activity with search, settings and a close button (see screenshot).
> 
> There definitely wasn't as you can see from my screenshot. But now if I
> press Alt+D+A there is, it looks much like your screenshot, and clicking
> outside reliably dismisses it (and it only appears on one screen). Wahoo!
> _However_, if I press WinKey+Tab, I still get the buggy behavior: the
> Activities panel appears (on both screens) without the title bar with
> controls, and clicking outside doesn't dismiss. So maybe it's fixed for
> Alt+D+A but not Meta+Tab, or there's some intermittency/indeterminacy.
> 
> > What global theme are you using?
> No idea... (checks) Breeze, with Plasma Style of Fedora Twenty Five "Follows
> color scheme" and Application Style of Breeze.
> 
> Thanks for your response ❤.

Interesting as Meta+Tab for me disappears as soon as I let it go. Maybe this was fixed in a later verison.

Are you using a COPR to get the Plasma RPMs? If so which one? I found https://copr.fedorainfracloud.org/coprs/zawertun/kde/packages/ has what looks like the latest stable releases if you want to try that.
Comment 5 skierpage 2020-11-02 00:07:41 UTC
Created attachment 132954 [details]
now Meta+Tab displays Activities panel with gray area

Aggh, now it's really going haywire. Now every time I press Meta+Tab the panel only displays on my main (external) screen without a title bar, and it looks like its window is the wrong size for its contents, note the gray area at the bottom (see attachment).

My setup is
     ___________
    | 1920x1200 | external monitor as primary screen with Task Manager panel
    |           |
    |           |
    |O========xx|
     ___________
    | 1920x1080 | laptop underneath
    |           |
    |___________|

According to xwininfo, Meta+Tab is now displaying a 0,0+300x1080 window on top of a 1,0+300x1168 window. The extra vertical space is painted a different gray.

I experience other bugs with my dual screen setup, e.g. bug 422717 (sometimes my solid color desktop leaves a black unpainted strip on the external monitor) and bug 424265 (display horizontal alignment is 1 pixel off).
Comment 6 Justin Zobel 2020-11-02 00:16:10 UTC
(In reply to skierpage from comment #5)
> Created attachment 132954 [details]
> now Meta+Tab displays Activities panel with gray area
> 
> Aggh, now it's really going haywire. Now every time I press Meta+Tab the
> panel only displays on my main (external) screen without a title bar, and it
> looks like its window is the wrong size for its contents, note the gray area
> at the bottom (see attachment).
> 
> My setup is
>      ___________
>     | 1920x1200 | external monitor as primary screen with Task Manager panel
>     |           |
>     |           |
>     |O========xx|
>      ___________
>     | 1920x1080 | laptop underneath
>     |           |
>     |___________|
> 
> According to xwininfo, Meta+Tab is now displaying a 0,0+300x1080 window on
> top of a 1,0+300x1168 window. The extra vertical space is painted a
> different gray.
> 
> I experience other bugs with my dual screen setup, e.g. bug 422717
> (sometimes my solid color desktop leaves a black unpainted strip on the
> external monitor) and bug 424265 (display horizontal alignment is 1 pixel
> off).

Damn that's not good at all.

Are you able to try a newer version via updates or a different COPR repo to see if the issue persists?
Comment 7 skierpage 2020-11-06 09:01:07 UTC
(In reply to Justin Zobel from comment #6)

> Are you able to try a newer version via updates or a different COPR repo to
> see if the issue persists?

I booted from a Live USB of the 2020-10-24 Fedora-KDE-Live-x86_64-Rawhide-20201024.n.0.iso. I dragged my monitors in Displays and edited panels to recreate my vertical config with Task manager on my upper external display, and didn't see this bug. (I did still experience bug 424265, display horizontal alignment is 1 pixel off). The  Meta+Tab did nothing (maybe because I only have the one Default activity), and Alt+D+A made the proper activities panel display, with a titlebar, only on whichever desktop where I pressed it, and it went away when I clicked outside it.

So either later KDE fixes this, or there's something about my setup (I've updated to each new Fedora KDE since Fedora 24) that causes this buggy behavior. I've optimistically chosen the former and resolved this WORKSFORME. Thanks!