Created attachment 134808 [details] Video to demonstrate the issue SUMMARY By default, the task manager "expands" to the right (i.e. fill all available space). This has caused an issue for me in Latte dock, whereby I am unable to drag from the panel to restore the active window. See the attached video. STEPS TO REPRODUCE 1. Add icons-only task manager to a Latte-dock panel 2. Open a window and maximise it. 3. Drag from an empty space filled by the task manager. 4. Drag from an empty space /not/ filled by the task manager. OBSERVED RESULT The active window is not restored (remains maximised) in step 3, but /is/ restored in step 4. EXPECTED RESULT The active window should be restored in step 3. I have contacted the developer of Latte dock, and he thinks that it is due to the fact that the task manager expands to fill available space.
Does this happen with a standard Plasma panel rather than Latte Dock?
Hi Nate, on a standard panel, the icons-only task manager also expands to the right, but this is not that much of a problem, since the standard panel does not have an option to "restore windows by dragging from panel". However, on a standard panel, if you put an expanding spacer to the right of the task manager, the expanding spacer takes precedence (i.e. the empty space is filled by the spacer, not the task manager). That is not the case on a Latte panel. Come to think of it, my problem could be solved if Latte gave precedence to the spacer.
Yep, that seems like the issue. That's certainly how the spacer is intended to behave. :)
(In reply to Nate Graham from comment #3) > Yep, that seems like the issue. That's certainly how the spacer is intended > to behave. :) good idea! you can add a Latte Spacer that feels space in Latte Justify alignment, it should work.
Created attachment 134880 [details] Plasma panel vs Latte panel behavior (In reply to Michail Vourlakos from comment #4) > good idea! you can add a Latte Spacer that feels space in Latte Justify > alignment, it should work. It seems that it does not work... I did the steps described below. STEPS TO REPRODUCE: 1. Create a blank latte panel 2. Create a blank plasma panel 3. Add an icons-only task manager to both panels 4. Add an expanding latte-spacer on the right of task manager in the latte-panel. 5. Add an expanding plasma spacer on the right of the task manager in the plasma panel. OBSERVED RESULT: On the latte panel, the blank space is filled by the task manager. On the plasma panel, the blank space is filled by the spacer. NOTES: I also made a screen recording of the above steps. See attached.
1. Are you using latest Latte git version? 2. Did you set Justify alignment for the Latte panel?
(In reply to Michail Vourlakos from comment #6) > 1. Are you using latest Latte git version? > 2. Did you set Justify alignment for the Latte panel? Hi Michail. Sorry for only responding now, I had a really busy week! 1. I am using the the latest release version (v0.9.11-1). I can switch to the git version this weekend and will report my findings. 2. Yes. I set justify alignment, recycled the latte-tasks widget and replaced it with the icons-only-tasks widget.
I think this is fixed and works just fine in git version, feel free to reopen if it does not.
Hi Michail. Thanks so much for your efforts! I unfortunately haven't had time yet to test the Git version. I hope that my bug report has been constructive. I really don't want to make bug reports that distract the developers from the main goals of the project.