Bug 358827 - Switching between Alternatives on Desktop loses / breaks applet geometry
Summary: Switching between Alternatives on Desktop loses / breaks applet geometry
Status: CONFIRMED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Containment (show other bugs)
Version: master
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Sebastian Kügler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-31 15:12 UTC by Kai Uwe Broulik
Modified: 2023-04-09 23:47 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kai Uwe Broulik 2016-01-31 15:12:14 UTC
When switching between different Alternative widgets on the Desktop, the newly created applet is often positioned and/or sized differently from the original applet.

Reproducible: Always

Steps to Reproduce:
1. Place Kickoff on Desktop
2. Right click, choose "Alternatives"
3. Choose Kicker

Actual Results:  
You end up with a huge widget

Expected Results:  
The position of the new applet is the same as with the old one

This can also be reproduced with the various clocks.

If size contraints prevent the applet from having the same size, it should at least be centered around the previous applet's position.
Comment 1 David Rosca 2016-05-13 16:36:34 UTC
Git commit 4c6707dbed37b1e1ba845f1dc190f2c324e1e071 by David Rosca.
Committed on 13/05/2016 at 15:53.
Pushed by drosca into branch 'master'.

Alternatives: Add new applet only after the old one was removed

New applet is now added at the same position as the old one.

Differential Revision: https://phabricator.kde.org/D1134

M  +10   -7    shell/alternativeshelper.cpp

http://commits.kde.org/plasma-workspace/4c6707dbed37b1e1ba845f1dc190f2c324e1e071
Comment 2 Alexander Mentyu 2017-12-08 17:21:31 UTC
Can confirm that 'Application Laucher/Dashboard' desktop widget changes it's size after switching to 'Application Menu' alternative

Distribution: KDE neon Developer Edition - Stable Branches
Plasma: 5.11.4
Frameworks: 5.41.0
Qt: 5.9.3
Kernel 4.10.0-40-generic