Bug 500717 - In panel edit mode, widgets' hover popups are inaccessible via mouse when animations are disabled
Summary: In panel edit mode, widgets' hover popups are inaccessible via mouse when ani...
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Panel (show other bugs)
Version: 6.3.1
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-02-25 11:24 UTC by Jan Rathmann
Modified: 2025-03-12 19:35 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In: 6.3.3
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Rathmann 2025-02-25 11:24:45 UTC
SUMMARY
If animations are disabled in Plasma and the width of a panel is set to "Custom", it becomes impossible to access the menus of panel applets via mouse.

STEPS TO REPRODUCE
1. Open Systemsettings, set animation speed to "immediate" (animations are disabled in Plasma).
2. Right click on a panel, "Enter edit mode..."
3. Set panel width to "Custom". (Leaving edit mode and entering edit mode again shouldn't be necessary.)
4. Hover over a panel applet, the applet's menu appears.
5. Try to hover over one of the menu items.

OBSERVED RESULT
If the cursor leaves the panel area, the applet's menu will hide immediately, making it impossible to hover over it with mouse and to actually access one of its items.

EXPECTED RESULT
It should be possible to move the mouse cursor over the applet menus and click on their items.

SOFTWARE/OS VERSIONS

Reproduced with:

* Kubuntu 24.10 + Plasma 6.1.5
* Kubuntu 25.04-dev + Plasma 6.3.1
* Neon Unstable + Plasma 6.3.80
* Self-build Plasma from master + Qt 6.8.2 on Kubuntu 24.10

all running the Wayland session.
Comment 1 Filip 2025-02-25 12:19:51 UTC
Can confirm.
Comment 2 Nate Graham 2025-02-27 00:03:49 UTC
This is reproducible for me even without setting the panel to custom.
Comment 3 Bug Janitor Service 2025-02-27 00:20:18 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/2856
Comment 4 Jan Rathmann 2025-02-27 10:58:30 UTC
(In reply to Nate Graham from comment #2)
> This is reproducible for me even without setting the panel to custom.

Interesting, I can reproduce it only with panel width set to "Custom".
Comment 5 Nate Graham 2025-03-02 16:12:59 UTC
Git commit 8bb0f894d8976468a82dc5db780bf620504e043b by Nate Graham.
Committed on 02/03/2025 at 15:33.
Pushed by ngraham into branch 'master'.

Port Timer objects away from adjustable-duration intervals where needed

A Timer's interval value should only use a standard duration unit that
adjusts with the user's chosen animation speed if it controls a visible
animation. Otherwise the interval will get scaled inappropriately and
weird things will happen.

For Timers where the duration should not scale, we should either use a
hardcoded value appropriate to the use case (if it needs to be short or
match something else) or else use `Kirigami.Units.humanMoment`, which
is 2 seconds long and targets this use case.

Several timers in this repo don't conform to those rules; port them to
the appropriate thing.
FIXED-IN: 6.3.3

M  +1    -1    applets/taskmanager/package/contents/ui/main.qml
M  +1    -1    containments/desktop/package/contents/ui/FolderViewDialog.qml
M  +1    -1    containments/panel/contents/ui/ConfigOverlay.qml
M  +1    -1    desktoppackage/contents/configuration/panelconfiguration/PanelRepresentation.qml
M  +1    -1    desktoppackage/contents/views/Desktop.qml

https://invent.kde.org/plasma/plasma-desktop/-/commit/8bb0f894d8976468a82dc5db780bf620504e043b