Bug 417565 - Closing a panel popup/menu by clicking it or pressing escape breaks temporarily gtk apps scrolling
Summary: Closing a panel popup/menu by clicking it or pressing escape breaks temporari...
Status: RESOLVED UPSTREAM
Alias: None
Product: plasmashell
Classification: Plasma
Component: Panel (show other bugs)
Version: 5.18.0
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL: https://gitlab.gnome.org/GNOME/gtk/is...
Keywords:
Depends on:
Blocks:
 
Reported: 2020-02-13 13:53 UTC by Thanos Apostolou
Modified: 2020-02-18 15:31 UTC (History)
2 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 Thanos Apostolou 2020-02-13 13:53:14 UTC
SUMMARY
Clicking on a panel item (like the menu, calendar, wifi indicator, etc...) and closing it by clicking its icon again or by pressing escape breaks temporarily gtk apps scrolling.

STEPS TO REPRODUCE
1. Open a gtk app like evince or gedit with some file and resize it at a size where scrolling is available.
2. Focus the gtk app and verify that scrolling works
3. Click on calendar on plasmashell's panel and then close by either clicking on the calendar icon again or by hitting escape.
4. Then click on the open gtk app to focus it again and see that scrolling no longer works

OBSERVED RESULT
Scrolling breaks if you close panel's menus by clicking on their icons or by hitting escape. If instead you click on the gtk app after you have opened a panel's menu (without closing it first) then scrolling works properly. If you switch windows with alt-tab or with the panel's task manager then scrolling works again.

EXPECTED RESULT
Scrolling should work when selecting the gtk app again no matter how you closed a panel's menu.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: arch linux
KDE Plasma Version: 5.18.0
KDE Frameworks Version: 5.67.0
Qt Version: 5.14.1

ADDITIONAL INFORMATION
I had noticed the same behavior with plasma 5.17 too but I waited for the new release to verify that it's not something it got fixed.
Comment 1 Nate Graham 2020-02-15 03:30:21 UTC
Sadly this is a GTK bug that the developers seem unable or unwilling to fix. :(

See https://bugzilla.gnome.org/show_bug.cgi?id=750870 and https://gitlab.gnome.org/GNOME/gtk/issues/558

One workaround is to use Wayland. Apparently the bug only happens on X11.