Bug 451602 - [tasks] - new option to sort tasks from right to left
Summary: [tasks] - new option to sort tasks from right to left
Status: REOPENED
Alias: None
Product: lattedock
Classification: Plasma
Component: plasmoid (show other bugs)
Version: 0.10.8
Platform: Arch Linux Linux
: NOR wishlist
Target Milestone: ---
Assignee: Michail Vourlakos
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-17 06:22 UTC by Deliphin11
Modified: 2022-03-17 07:47 UTC (History)
1 user (show)

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


Attachments
New Task behaviour examples (76.81 KB, image/png)
2022-03-17 07:09 UTC, Deliphin11
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Deliphin11 2022-03-17 06:22:22 UTC
SUMMARY
Latte Tasks currently only supports sorting programs from right to left.
In comparison, the Icons-Only Task Manager has options to sort either way, via "New tasks appear: "To the left/right".
I would like this feature in Latte Tasks as well.


SOFTWARE/OS VERSIONS
Linux/KDE Plasma:  Arch, 5.16.14-zen1-1-zen
KDE Plasma Version: 5.24.3
KDE Frameworks Version: 5.92.0
Qt Version: 5.15.3
Comment 1 Deliphin11 2022-03-17 06:26:46 UTC
Oh, additionally I should mention:

I'd like if the hotkeys for launching applications by shortcut focus on "first to last". By that I mean:
Default left to right sorting = Meta+1 runs left-most application.
Right to left sorting = Meta+1 runs right-most application.
Comment 2 Michail Vourlakos 2022-03-17 06:43:18 UTC
Latte is fully RTL compatible if you are using an RTL language.
You can use instead if you want: "latte-dock -reverse" from cmd
Comment 3 Michail Vourlakos 2022-03-17 06:45:47 UTC
show me what you are trying to achieve in a screenshot.
You can use Justify alignment if you want Latte Tasks at the right.

You probably need to watch: https://www.youtube.com/watch?v=FOYkGfksraI
Comment 4 Deliphin11 2022-03-17 07:09:46 UTC
Created attachment 147543 [details]
New Task behaviour examples

The Latte Tasks widget is already on the right. My problem is how it sorts its own applications, not its position. I'm already using the Justify alignment to put it on the right.

Attached should show you what I mean. New tasks appear on the left instead of right, and the "first" application (for purposes of the Meta+1 default shortcut) is on the right. Notice how Bitwarden is on the right edge instead of left edge now.
This can be done with the Icons-Only Task Manager, but not with Latte Tasks.
Comment 5 Deliphin11 2022-03-17 07:16:07 UTC
Just in case if these clarifications are needed:
I am using Latte Tasks on Latte Dock in panel mode.
I'd prefer not to use the regular plasma panel with the Icons-Only Task Manager because having two dynamically resizing widgets (the task manager and Global Menu) results in a brief annoying graphical bug whenever the global menu resizes. (not to mention several other irrelevant benefits of latte dock)
Comment 6 Michail Vourlakos 2022-03-17 07:47:31 UTC
(In reply to Deliphin11 from comment #5)
> Just in case if these clarifications are needed:
> I am using Latte Tasks on Latte Dock in panel mode.
> I'd prefer not to use the regular plasma panel with the Icons-Only Task
> Manager because having two dynamically resizing widgets (the task manager
> and Global Menu) results in a brief annoying graphical bug whenever the
> global menu resizes. (not to mention several other irrelevant benefits of
> latte dock)

You probably need to switch to plasma icon-only, any solution in Latte side would interfere with plenty of things so this is not simple to solve and at the same time dont break plenty of things in Latte.