Bug 404252 - Virtual Desktop Pager is Not Displayed
Summary: Virtual Desktop Pager is Not Displayed
Status: RESOLVED UPSTREAM
Alias: None
Product: lattedock
Classification: Plasma
Component: containment (show other bugs)
Version: 0.8.5
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Michail Vourlakos
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-02-12 18:20 UTC by AndyKluger
Modified: 2019-02-13 07:02 UTC (History)
1 user (show)

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


Attachments
Layout without pager (14.36 KB, text/plain)
2019-02-12 18:20 UTC, AndyKluger
Details
Layout with pager (14.44 KB, text/plain)
2019-02-12 18:20 UTC, AndyKluger
Details
Video of behavior (2.44 MB, video/mp4)
2019-02-12 18:23 UTC, AndyKluger
Details

Note You need to log in before you can comment on or make changes to this bug.
Description AndyKluger 2019-02-12 18:20:11 UTC
Created attachment 118010 [details]
Layout without pager

SUMMARY

Attempting to add a virtual desktop pager to a dock does not appear to have any effect, other than in the configuration file. If I keep trying to add a pager, the configuration file gains more entries.

STEPS TO REPRODUCE
1. Right-click dock, Add Widgets
2. Drag pager to dock

OBSERVED RESULT

No pager is added to the UI, though it is added in the configuration file.

EXPECTED RESULT

Pager visible on dock

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux, plasma-desktop 5.14.5-2, latte-dock 0.8.5-1

(available in About System)
KDE Plasma Version: 5.14.5
KDE Frameworks Version: 5.55.0
Qt Version: 5.12.1

ADDITIONAL INFORMATION

I am attaching:

1) redacted layout file before adding one pager
2) redacted layout file after adding one pager
3) video demonstration of bug
Comment 1 AndyKluger 2019-02-12 18:20:42 UTC
Created attachment 118011 [details]
Layout with pager
Comment 2 AndyKluger 2019-02-12 18:23:11 UTC
Created attachment 118012 [details]
Video of behavior
Comment 3 Michail Vourlakos 2019-02-12 19:32:23 UTC
video does not work, better use google drive or dropbox to share videos with issues
Comment 4 Michail Vourlakos 2019-02-12 19:35:47 UTC
The desktop pager is shown ONLY if there are two or more desktops OR when there is only one desktop and Latte is in edit mode meaning when the Dock/Panel settings are shown.

Is that the case?
Comment 5 AndyKluger 2019-02-13 01:18:41 UTC
(In reply to Michail Vourlakos from comment #3)
> video does not work, better use google drive or dropbox to share videos with
> issues

The video works fine with mpv. Just point mpv to the attachment URI.

> The desktop pager is shown ONLY if there are two or more desktops

Ah! I had a pager on a different edge before, and when I removed it, I didn't realize that also erased my virtual desktop names, count, and arrangement. I thought the result was that I had multiple desktops, but the shortcuts were erased, so no keyboard method to switch between them. I see now the other desktops have been entirely removed, but the shortcuts remain and work again when I re-add desktops.

Is this behavior of hiding the virtual desktop manager with only one desktop intentional? This doesn't make sense to me, as it removes the convenient ways to create more or change settings. If it is, this bug is invalid. Another reason to change that behavior is that a user might, as I did, not have any idea the add-widget action was successful, and add 20 or so hidden desktop pagers, waiting to pounce on the user when they eventually find another way to add a new desktop.
Comment 6 Michail Vourlakos 2019-02-13 05:22:07 UTC
Latte just respects what the applet wants, if you think the applet should behave differently you must report it to plasma
Comment 7 trmdi 2019-02-13 06:53:40 UTC
(In reply to andydecleyre from comment #2)
> Created attachment 118012 [details]
> Video of behavior

You did't add it successfully. Try to drag and drop again more slowly.

This is a fixed bug: https://bugs.kde.org/show_bug.cgi?id=396011
Comment 8 trmdi 2019-02-13 07:02:32 UTC
(In reply to trmdi from comment #7)
> This is a fixed bug: https://bugs.kde.org/show_bug.cgi?id=396011

Sorry, that isn't it. Ignore my comment.