Bug 431530 - Drag from panel doesn't work with expanded applets
Summary: Drag from panel doesn't work with expanded applets
Status: RESOLVED UPSTREAM
Alias: None
Product: lattedock
Classification: Plasma
Component: plasmoid (show other bugs)
Version: 0.9.11
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Michail Vourlakos
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-13 08:08 UTC by Chris
Modified: 2021-01-13 19:32 UTC (History)
0 users

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


Attachments
Video to demonstrate the issue (232.92 KB, video/x-matroska)
2021-01-13 08:08 UTC, Chris
Details
Icons-Only Tasks vs Latte Tasks with Plasma theme (19.32 KB, image/png)
2021-01-13 16:00 UTC, Chris
Details
Result of playing around with `item size` and `vertical margin` (257.09 KB, image/png)
2021-01-13 18:39 UTC, Chris
Details
Final Result (220.62 KB, image/png)
2021-01-13 19:32 UTC, Chris
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chris 2021-01-13 08:08:27 UTC
Created attachment 134799 [details]
Video to demonstrate the issue

SUMMARY
I am using plasma icons-only task manager in my panel. I can't find a way to prevent it from "expanding" (i.e. filling all available space). This causes an issue where I am no longer able to drag from the panel to restore the active window.

See the attached video.

STEPS TO REPRODUCE
1. Change latte-tasks with icons-only task manager.
2. Enable the checkbox in "Banel Settings > Behaviour > Actions > Drag and maximise/restore active window".
3. Open a window and maximise it.
3. Try drag from an empty space next to the task manager.

OBSERVED RESULT
The active window is not restored (remains maximised).

EXPECTED RESULT
Active window should be restored.
Comment 1 Michail Vourlakos 2021-01-13 13:21:21 UTC
This is icon-only issue because it provides a mousearea in order to use the mouse wheel in it. You can report it to plasma devs in case they can do something. It is not Latte fault.
Comment 2 Chris 2021-01-13 16:00:04 UTC
Created attachment 134807 [details]
Icons-Only Tasks vs Latte Tasks with Plasma theme

I see. Thanks for your response Michail! I will update this post once I ask them.

I also have a follow up question if you don't mind... I have tried to get Latte Tasks to have the same look as Icons-Only Tasks. The screenshot attached is the closest I could get, but the problem is that the icons in Latte Tasks are too big. Is it possible to reduce the size of the Latte Tasks icons without reducing the size of the other panel applets?
Comment 3 Michail Vourlakos 2021-01-13 16:15:38 UTC
No this is not possible.
Comment 4 Michail Vourlakos 2021-01-13 16:43:28 UTC
You could try of course to reduce the Latte icons size and increase the Thickness margin in order to provide same results with icon-only taskmanager.

Plasma icon-only taskmanager uses icon sizes from the current icon theme. Try to use icon size to f 48px or 32px. and increase thickness margin to your preference.
Comment 5 Chris 2021-01-13 18:39:27 UTC
Created attachment 134813 [details]
Result of playing around with `item size` and `vertical margin`

Not a bad idea! I tried it, and the result is attached. My menu icon (extreme left) and the window buttons (extreme right) have shrunk, and the app indicator remains small. Changing the icon sizes in settings don't seem to fix that. But I guess I'm just being nitpicky. Let me not waste our time anymore. 😂
Comment 6 Chris 2021-01-13 19:32:08 UTC
Created attachment 134816 [details]
Final Result

Just letting you know that, after changing my menu icon and my window-buttons theme, I got a nice looking result in the end. Thank you for your tips. Let me not disturb you further. :)