Bug 966899

Summary: thermostat: GUI window content does not fill whole window
Product: [Fedora] Fedora Reporter: Mikolaj Izdebski <mizdebsk>
Component: java-1.7.0-openjdkAssignee: Omair Majid <omajid>
Status: CLOSED WORKSFORME QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 19CC: ahughes, dbhole, jerboaa, jon.vanalten, jvanek, omajid
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-09-09 20:35:53 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Screenshot of GUI none

Description Mikolaj Izdebski 2013-05-24 08:47:46 UTC
Created attachment 752512 [details]
Screenshot of GUI

Description of problem:
Thermostat GUI content does not fill the whole available space in the window.

How reproducible:
Always.

Steps to Reproduce:
1. yum install thermostat awesome xserver-xorg
2. thermostat service &
3. echo exec awesome >~/.xinitrc && chmod +x ~/.xinitrc
4. startx
5. press Mod4+Space (Mod4 is the key between Control and Alt, usually)
6. press Mod4+Enter to open xterm
7. run "thermostat gui" from xterm

Actual results:
GUI content does not fill the whole available space in the window.

Expected results:
GUI content does fill the whole available space in the window.

Additional info:
See attachement.

Comment 1 Omair Majid 2013-05-24 13:48:11 UTC
This is a bug in OpenJDK/swing, not thermostat. OpenJDK is sensitive to which window manager is being used and things break with an unknown window manager [1][2].

You can work around this by:
1. yum install wmname
2. wmname LG3D

[1] http://omajid.wordpress.com/2012/04/11/openjdk-and-awesome/
[2] http://awesome.naquadah.org/wiki/Problems_with_Java

Comment 2 Omair Majid 2013-05-24 13:54:04 UTC
*** Bug 966905 has been marked as a duplicate of this bug. ***

Comment 3 Omair Majid 2013-09-09 20:35:53 UTC
awesomewm is now a reparenting window manager. I can not reproduce this bug any more with F19.