Bug 314814

Summary: Regression: Suspend prompt of Lock/Logout widget does not display correctly (buttons are obscured)
Product: [Unmaintained] plasma4 Reporter: delcypher
Component: visualsAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: delcypher
Priority: NOR    
Version First Reported In: 4.10.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Screenshot of incorrectly displayed suspend prompt
Screenshot of incorrectly displayed suspend prompt from widget on panel

Description delcypher 2013-02-10 09:04:26 UTC
I've just upgraded from 4.9.5 to 4.10.0 and it seems the "Lock/Logout" widget when placed on a panel or on the desktop (with "Suspend" button) that upon clicking "suspend", the widget's prompt does not display correctly.

Reproducible: Always

Steps to Reproduce:
1. Right-click desktop and click and "Add Widgets"
2. Add the lock/logout widget
3. Right click the widget and click "Lock/Logout settings"
4.  Make sure the following are ticked...
Leave
Lock
Sleep
5. Press OK
6. Click suspend button on widget.
Actual Results:  
A prompt appears (in past it was a moveable dialog window, but now it looks more like a widget) asking "Do you want to suspend to RAM (sleep)?" with two buttons below it. However the text on the buttons cannot be seen because the dialog window is too small vertically and the buttons are "clipped"

I will attach a screenshot showing this.

Expected Results:  
A prompt should appear with the buttons completed visible.
Comment 1 delcypher 2013-02-10 09:10:44 UTC
Created attachment 77082 [details]
Screenshot of incorrectly displayed suspend prompt

This is a screenshot of the incorrectly displayed suspend prompt shown by clicking on a "Lock/Logout" widget on the desktop. It can be seen that the prompt is too small vertically and the buttons are clipped so that the text in the buttons is NOT VISIBLE! 

From a usability standpoint that's pretty bad, It's impossible to tell which button is "OK" and which is "Cancel". From testing it appears that the left button is "OK" and the right button is "Cancel" but I shouldn't have to guess!
Comment 2 delcypher 2013-02-10 09:12:22 UTC
Created attachment 77083 [details]
Screenshot of incorrectly displayed suspend prompt from widget on panel

This is a screenshot of the incorrectly displayed suspend prompt shown by clicking on a "Lock/Logout" widget that is in a panel. It can be seen that the prompt is too small vertically and the buttons are clipped so that the text in the buttons is NOT VISIBLE! 

From a usability standpoint that's pretty bad, It's impossible to tell which button is "OK" and which is "Cancel". From testing it appears that the left button is "OK" and the right button is "Cancel" but I shouldn't have to guess!
Comment 3 delcypher 2013-02-10 09:18:03 UTC
Hmm I seems that my bug is actually a duplicate of bug #313943 ( https://bugs.kde.org/show_bug.cgi?id=313943 ) although I think my description of the problem is slightly more accurate.
Comment 4 delcypher 2013-02-10 09:18:25 UTC

*** This bug has been marked as a duplicate of bug 313943 ***