Created attachment 123305 [details] Video demo SUMMARY With parabolic effect disabled and hover-zoom at 0%, plasma task manager hover actions are not activated, and entries are permanently highlighted when clicked. STEPS TO REPRODUCE 1. add plasma task manager to a latte dock 2. disable parabolic effect 3. set zoom on hover to 0% OBSERVED RESULT No matter the task manager's settings, windows will not be highlighted or previewed when hovering over their entries. Clicking on each entry changes its color, permanently. EXPECTED RESULT If the task manager is set to highlight windows on hover, then hovering over each entry should highlight the window. If the task manager is set to show a window preview tooltip on hover, then hovering over each entry should show show a window preview tooltip. If a task manager entry is clicked, its color should not be permanently changed. SOFTWARE/OS VERSIONS Linux/KDE Plasma: Arch KDE Plasma Version: 5.17.0 KDE Frameworks Version: 5.63.0 Qt Version: 5.13.1 ADDITIONAL INFORMATION Configuration files which are the simplest-possible modification of default settings, which reproduce the problem, are attached, as well as a video demonstration of the problem.
Created attachment 123306 [details] lattedockrc
Created attachment 123307 [details] Default.layout.latte
Lock button did it help?
(In reply to Michail Vourlakos from comment #3) > Lock button did it help? The button for the task manager with the tooltip "Disable parabolic effect for this applet"? When that button is activated (locked position) and hover-zoom is set at 0%, the bug presents, as seen in the video. If unlocked, the bug is not encountered.
yep this is intentional... If zoom factor 0% then the user can either disable the title tooltips from Behavior page OR use the locker button in order to specify which behavior prefers
(In reply to Michail Vourlakos from comment #5) > yep this is intentional... If zoom factor 0% then the user can either > disable the title tooltips from Behavior page OR use the locker button in > order to specify which behavior prefers What are the two behaviors you mean here? Whether or not the "Show title tooltips on hovering" box is checked makes no difference to the behavior described. If the applet is locked and the dock is set not to zoom, then the applet's hover effects will not function.
(In reply to andydecleyre from comment #6) > (In reply to Michail Vourlakos from comment #5) > > yep this is intentional... If zoom factor 0% then the user can either > > disable the title tooltips from Behavior page OR use the locker button in > > order to specify which behavior prefers > > What are the two behaviors you mean here? > > Whether or not the "Show title tooltips on hovering" box is checked makes no > difference to the behavior described. If the applet is locked and the dock > is set not to zoom, then the applet's hover effects will not function. OK you are right. Things are pretty straight forward from implementation point of view. When the user has chosen 0% par.effect the lock button defines the applet behavior for all Latte overlays, meaning tooltips/par.effect, Indicators etc. So in that case when the lock button is not locked which is the default case, plasma original behavior is applied, if the lock button is locked then Latte approach is used.
You've marked this as intentional, but I don't understand yet. 1. The lock button tooltip seems to indicate its function is to disable a zooming feature. Is that correct? 2. If a user activates the lock button because they are sure they don't want the items to exhibit any zoom effect, why does that indicate that they want the Task Manager's "Show tooltips" option to be disregarded? 3. If a user activates the lock button because they are sure they don't want the items to exhibit any zoom effect, why does that indicate that they want the Task Manager's "Highlight windows when hovering over tasks" option to be disregarded? 4. If a user activates the lock button because they are sure they don't want the items to exhibit any zoom effect, why does that indicate that they want each Task Manager's entry to be colorized permanently the first time it's clicked?
I also see you've changed the title of this issue to change the conditions from two to three, but I don't understand that yet either. 5. What's the difference between "parabolic effect disabled" and "locked state"? I thought the lock icon was precisely the parabolic effect setting.
The lock button is used also for that specific case, a second button might would be better to exist for the case but I am not interested adding it, so the lock button is also used for the case I described earlier.
OK I don't understand the intended purpose of the lock button, but surely the behavior reiterated in Comment 8 Question 4 is not intended, right? What could possibly be the point of that? And can you please answer Question 5 (Comment 9)? You changed the title to point out that it's possible to have parabolic effect disabled, hover-zoom at 0%, and "unlock state," whatever that means, but I don't see how that's possible, if parabolic effect is controlled by the lock button.
(In reply to andydecleyre from comment #11) > OK I don't understand the intended purpose of the lock button, but surely > the behavior reiterated in Comment 8 Question 4 is not intended, right? What > could possibly be the point of that? > > And can you please answer Question 5 (Comment 9)? You changed the title to > point out that it's possible to have parabolic effect disabled, hover-zoom > at 0%, and "unlock state," whatever that means, but I don't see how that's > possible, if parabolic effect is controlled by the lock button. Comment 7 is the best explanation I can give. For any more questions feel free to investigate the code and provide patches for future versions. The thing is that the implementation is doing exactly what I am thinking as the best approach so this is not a bug. For anyone interested to contribute and improve things, no problem from me. The code in question can be investigated at file, https://github.com/KDE/latte-dock/blob/master/containment/package/contents/ui/applet/AppletItem.qml