Bug 340003 - Alternatives dialog glitches around
Summary: Alternatives dialog glitches around
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (show other bugs)
Version: master
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Sebastian Kügler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-15 20:04 UTC by Kai Uwe Broulik
Modified: 2014-10-15 21:40 UTC (History)
1 user (show)

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


Attachments
Alternatives dialog broken (84.87 KB, image/png)
2014-10-15 20:05 UTC, Kai Uwe Broulik
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kai Uwe Broulik 2014-10-15 20:04:41 UTC
The Alternatives dialog glitches around when it opens, probably because now there are so many alternatives for the clock (analog, digital, fuzzy, and the calendar) that a scrollbar appears and this confuses it. The dialog does not even end up the same size all the time, which can be seen when it is opened multiple times (which shouldn't be possible in the first place)

Reproducible: Always

Steps to Reproduce:
1. Make sure you have kdeplasma-addons installed
2. Right click digital clock in your panel (it's a top panel here, glitches even worse with bottom one)
3. 

Actual Results:  
Dialog jumps around and flickers, ends up in varying sizes

Expected Results:  
Dialog appears smoothly

Apparently the recent changes in Plasma dialog broke the size calculations for the alternatives dialog, here also the kickoff Alternatives (listing just two entries) has a scrollbar with the second item being cutoff half although there would be plenty of space to expand the dialog to show all items.
Comment 1 Kai Uwe Broulik 2014-10-15 20:05:11 UTC
Created attachment 89152 [details]
Alternatives dialog broken

I opened it a couple of times and every time it opened in a different size
Comment 2 Kai Uwe Broulik 2014-10-15 21:40:48 UTC
Git commit 8ac6ee1c7226de8f0e128e67f8686590a00f821d by Kai Uwe Broulik.
Committed on 15/10/2014 at 21:39.
Pushed by broulik into branch 'Plasma/5.1'.

Fix glitching Alternatives dialog

Setting anchors.fill in a dialog is not a good idea
REVIEW: 120602
FIXED-IN: 5.1.1

M  +5    -3    desktoppackage/contents/explorer/AppletAlternatives.qml

http://commits.kde.org/plasma-desktop/8ac6ee1c7226de8f0e128e67f8686590a00f821d