Bug 502375 - [Regression] Activity switcher sidebar does not appear on principal screen but only on secondary
Summary: [Regression] Activity switcher sidebar does not appear on principal screen bu...
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Activity Switcher sidebar (show other bugs)
Version: 6.3.4
Platform: Gentoo Packages Linux
: NOR minor
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: multiscreen, regression
Depends on:
Blocks:
 
Reported: 2025-04-03 19:38 UTC by Julien Delquié
Modified: 2025-04-15 19:05 UTC (History)
6 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Julien Delquié 2025-04-03 19:38:02 UTC
SUMMARY

Before Plasma 6.3.4, everything was fine, but since I updated to Plasma 6.3.4, the activity switcher is not showing itself on my principal screen anymore, it shows itself only on my secondary screen.
Clicking on the widget in the panel of my principal screen does not show activity switcher sidebar at all (not on primary screen, not on secondary screen).
Clicking on the widget in the panel of my secondary screen does show activity switcher sidebar on the secondary screen as intended.

I noticed something strange when I have a window on the principal screen and clicking on the widget in the panel, it seems that the window loose its focus (shadow is reduced), so I think that activity switcher sidebar is « appearing » somewhere out of both screen, then if I click again on the widget in the panel, it seems that the window take again its focus (shadow is back).


STEPS TO REPRODUCE
1. Update to 6.3.4
2. Play with activity switcher sidebar in a multimonitor context

OBSERVED RESULT

Activity switcher sidebar is not showing at all on principal screen.

EXPECTED RESULT

Activity switcher sidebar is showing on principal screen.

SOFTWARE/OS VERSIONS
Operating System: Gentoo Linux 2.17
KDE Plasma Version: 6.3.4
KDE Frameworks Version: 6.12.0
Qt Version: 6.8.3
Kernel Version: 6.13.9-gentoo-dist (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i7-9700K CPU @ 3.60GHz
Memory: 31.3 Gio of RAM
Graphics Processor: AMD Radeon RX 7800 XT

ADDITIONAL INFORMATION

I did not manage to have a screencast with spectacle, because it crashes… :’(
Comment 1 Nate Graham 2025-04-04 14:43:14 UTC
Very likely caused by the fix for Bug 480890.

It affects the Add Widgets sidebar too, right?
Comment 2 Julien Delquié 2025-04-04 14:51:48 UTC
(In reply to Nate Graham from comment #1)
> Very likely caused by the fix for Bug 480890.
> 
> It affects the Add Widgets sidebar too, right?

Do you mean when I right click on panel from principal screen, for example?
If it’s that, nope, it works correctly, the add widget sidebar is available on the principal screen, without any issue.
Comment 3 Marcel 2025-04-08 21:54:16 UTC
(In reply to Nate Graham from comment #1)
> Very likely caused by the fix for Bug 480890.
> 
> It affects the Add Widgets sidebar too, right?

For me it also only affects the activity sidebar. But as the change in the commit of that bug is small and just QML I simply tried to revert the changes in my local Desktop.qml and it fixed the problem. So yes, it is caused by that fix.
Comment 4 NitramO 2025-04-09 18:19:23 UTC
(In reply to Nate Graham from comment #1)
> Very likely caused by the fix for Bug 480890.
> 
> It affects the Add Widgets sidebar too, right?

Hi, could this issue be related to it? Do i need to do a new bug report or it's a duplicate in advance of this issue?

https://discuss.kde.org/t/activity-selector-panel-misaligned-no-longer-left-anchored-after-update-kde-neon-wayland/32641
Comment 5 Nate Graham 2025-04-09 20:29:37 UTC
Hmm, the symptoms are different. It may be a different issue.
Comment 6 Julien Delquié 2025-04-13 12:30:13 UTC
(In reply to Marcel from comment #3)
> For me it also only affects the activity sidebar. But as the change in the
> commit of that bug is small and just QML I simply tried to revert the
> changes in my local Desktop.qml and it fixed the problem. So yes, it is
> caused by that fix.

Just applied a revert of the commit, I confirm too that it fixes this regression.
Comment 7 Bug Janitor Service 2025-04-13 20:52:15 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/2945
Comment 8 Niccolò Venerandi 2025-04-14 18:11:07 UTC
Git commit 515af63832d9c16b8f440b0d6880787bd9c5f761 by Niccolò Venerandi.
Committed on 14/04/2025 at 18:10.
Pushed by niccolove into branch 'Plasma/6.3'.

Avoid double-addition of x coordinate of ActivitySwitcher

The current code was adding the x coordinate of the screen
geometry two times, in the screenGeometry variable and in
the code to calculate the x coordinate.
Related: bug 502656


(cherry picked from commit 8843a89f11afe4ce2334165438c3669f1eadc81b)

Co-authored-by: Niccolò Venerandi <niccolo@venerandi.com>

M  +1    -1    desktoppackage/contents/views/Desktop.qml

https://invent.kde.org/plasma/plasma-desktop/-/commit/515af63832d9c16b8f440b0d6880787bd9c5f761
Comment 9 Niccolò Venerandi 2025-04-14 18:46:33 UTC
Git commit 8843a89f11afe4ce2334165438c3669f1eadc81b by Niccolò Venerandi.
Committed on 14/04/2025 at 18:09.
Pushed by niccolove into branch 'master'.

Avoid double-addition of x coordinate of ActivitySwitcher

The current code was adding the x coordinate of the screen
geometry two times, in the screenGeometry variable and in
the code to calculate the x coordinate.
Related: bug 502656

M  +1    -1    desktoppackage/contents/views/Desktop.qml

https://invent.kde.org/plasma/plasma-desktop/-/commit/8843a89f11afe4ce2334165438c3669f1eadc81b