Bug 421253 - [feature request] option to make the separator within tasks to appear only when "needed" (if there are unpin windows present)
Summary: [feature request] option to make the separator within tasks to appear only wh...
Status: RESOLVED FIXED
Alias: None
Product: lattedock
Classification: Unmaintained
Component: application (other bugs)
Version First Reported In: git (master)
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Michail Vourlakos
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-09 23:21 UTC by avlas
Modified: 2021-02-18 17:14 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description avlas 2020-05-09 23:21:38 UTC
A bit of a context:

I don't recall putting a task separator in my layout but suddenly realized of one that appeared as soon as I had unpin windows open. This on-the-fly appearance of the separator between pin and unpin windows has grown on me.

It might have been a bug of some sort because the separator now it's still present but it's always visible.

I don't quite like this behavior as much and I would like to keep it but have the option to show it only when needed, that is if there are unpin windows present.
Comment 1 Michail Vourlakos 2020-05-10 06:38:51 UTC
In the past that would be a nightmare too implement. With the new architecture and implementation I think this is now possible by adding an option in Tasks, Separators after the last visible task become hidden.
Comment 2 avlas 2020-05-10 12:49:14 UTC
(In reply to Michail Vourlakos from comment #1)
> In the past that would be a nightmare too implement. With the new
> architecture and implementation I think this is now possible by adding an
> option in Tasks, Separators after the last visible task become hidden.

That'd be very cool, thanks for considering
Comment 3 Michail Vourlakos 2021-02-14 21:08:35 UTC
Git commit 3ba909a91dbe34df2b626fe3eb62fc81494ccdc8 by Michail Vourlakos.
Committed on 14/02/2021 at 21:06.
Pushed by mvourlakos into branch 'master'.

plasmoid:hide last separator for no launchers

this is enabled by default if the user wants
a persistent separator at the end of its tasks
can always a separator applet in that position

M  +2    -1    plasmoid/package/contents/ui/task/TaskItem.qml

https://invent.kde.org/plasma/latte-dock/commit/3ba909a91dbe34df2b626fe3eb62fc81494ccdc8
Comment 4 avlas 2021-02-18 17:14:04 UTC
Cool, thanks!