Bug 407732 - Title tooltips feature blocks focus and hover events to applets
Summary: Title tooltips feature blocks focus and hover events to applets
Status: RESOLVED FIXED
Alias: None
Product: lattedock
Classification: Plasma
Component: application (show other bugs)
Version: git (master)
Platform: Arch Linux Linux
: NOR major
Target Milestone: ---
Assignee: Michail Vourlakos
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-05-19 16:06 UTC by Viorel-Cătălin Răpițeanu
Modified: 2019-05-21 16:26 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Viorel-Cătălin Răpițeanu 2019-05-19 16:06:11 UTC
SUMMARY
Some widgets like Global Menu or Window Buttons aren't receiving can't be used on the latest releases of Plasma + Latte.
This was tested using the beta release of Plasma 5.16 and the latest git commit from Latte Dock.

STEPS TO REPRODUCE
1. Make sure you have the latest git release for Latte Dock + the 5.16 beta release of Plasma.
2. Add a global menu on a Latte Panel and try to use it.

OBSERVED RESULT
The widget doesn't receive any focus event

EXPECTED RESULT
The widget should work as expected.

SOFTWARE/OS VERSIONS
Monitor resolution: 3840 x 2160
Linux/KDE Plasma: kwin_x11 5.15.90-1
KDE Plasma Version: 5.15.90-1
KDE Frameworks Version: 5.58.0-1
Qt Version: 5.13.0beta3-1
Video driver: nvidia 430.14-2

ADDITIONAL INFORMATION
If you replace the Latte Panel with a Plasma one, the widgets work as expected.
Comment 1 Michail Vourlakos 2019-05-19 17:12:30 UTC
1. show me the Latte tooltips for these applet in inConfigureAppletsMode
2. if you lock them to not use the parabolic effect does it do any better?
Comment 2 Viorel-Cătălin Răpițeanu 2019-05-19 20:56:57 UTC
(In reply to Michail Vourlakos from comment #1)
> 1. show me the Latte tooltips for these applet in inConfigureAppletsMode
Not sure if this is exactly what you asked: https://drive.google.com/open?id=1bKRDfHs_uJkuGrZlIYSu7JllTmbhwpJ1

> 2. if you lock them to not use the parabolic effect does it do any better?
No. The panel is not using the parabolic effect. With or without it the behaviour is identical.
Comment 3 Michail Vourlakos 2019-05-20 04:27:15 UTC
Show me a video with the issue please
Comment 4 Viorel-Cătălin Răpițeanu 2019-05-20 09:12:07 UTC
(In reply to Michail Vourlakos from comment #3)
> Show me a video with the issue please

The video is linked in the previous comment (#2). You can see when I was hovering/clicking over the widgets (when the dock was locked), that instead of each getting the focus only the tooltip was displayed.
1. For the Global Menu, when you hover over it, the rectangular box should appear over the selected menu option.
2. For the Window Buttons, when a certain button gets hovered over, the background changes.
Comment 5 Viorel-Cătălin Răpițeanu 2019-05-20 09:18:39 UTC
Also, as a related note, 'Drag and maximize/restore active window' doesn't work as well. It behaves as it has been disabled.

Having this option enabled or disabled doesn't influence the behaviour seen on the previously mentioned widgets (the root cause for why this isn't working is probably the same).
Comment 6 Michail Vourlakos 2019-05-20 11:49:31 UTC
Solution A:

Disable "Show title tooltips on hovering" at Behavior page

Solution B:

If you want the thinner latte tooltips for applets keep option from Solution A but for those applets that you have this issue OR you prefer the Plasma original tooltips instead, LOCK them! You can lock them from the applet tooltip, https://userbase.kde.org/LatteDock/FAQ#Can_I_disable_the_parabolic_effect_for_a_specific_applet.3F

that lock option Forces Plasma original behavior for applets and disables parabolic effect at the same time


Improvement: I will add in an upcoming commmit when the user chooses Panel mode the option from Solution A to be forced to disabled until the user re-enables it
Comment 7 Viorel-Cătălin Răpițeanu 2019-05-20 20:46:30 UTC
(In reply to Michail Vourlakos from comment #6)
> Solution A:
> 
> Disable "Show title tooltips on hovering" at Behavior page
I wasn't aware of this feature. I should try reading tfm before opening a ticket next time.

> Solution B:
> 
> If you want the thinner latte tooltips for applets keep option from Solution
> A but for those applets that you have this issue OR you prefer the Plasma
> original tooltips instead, LOCK them! You can lock them from the applet
> tooltip,
> https://userbase.kde.org/LatteDock/
> FAQ#Can_I_disable_the_parabolic_effect_for_a_specific_applet.3F
> 
> that lock option Forces Plasma original behavior for applets and disables
> parabolic effect at the same time
This should work as well. I wasn't fully aware of this feature until now.

> Improvement: I will add in an upcoming commmit when the user chooses Panel
> mode the option from Solution A to be forced to disabled until the user
> re-enables it
This sounds really good.

Also, as an somewhat unrelated note to the original ticket, it seems that the drag and drop support is still not working using the latest git repository no matter if the option is selected or not. Is  there some other feature that overrides this control?
Comment 8 Michail Vourlakos 2019-05-21 04:21:34 UTC
The drag n drop from empty areas is now an option that you can find at Behavior page, is it enabled?
Comment 9 Michail Vourlakos 2019-05-21 16:26:24 UTC
changed some options based on Panel/Dock mode...