Activity log for bug #1110138

Date Who What changed Old value New value Message
2013-01-30 08:07:18 bastik bug added bug
2013-01-30 08:07:18 bastik attachment added minimal sample code demonstrating the problem https://bugs.launchpad.net/bugs/1110138/+attachment/3507165/+files/GeometryUnity.java
2013-01-30 08:19:01 Ubuntu Foundations Team Bug Bot tags java unity bot-comment java unity
2013-01-30 08:27:08 Launchpad Janitor ubuntu: status New Confirmed
2013-01-30 08:28:01 Don-vip bug watch added http://josm.openstreetmap.de/ticket/8387
2013-01-30 08:28:01 Don-vip bug task added josm
2013-01-30 08:28:29 Don-vip josm: importance Unknown Medium
2013-02-01 16:48:01 bastik affects ubuntu openjdk-7 (Ubuntu)
2013-02-06 22:52:19 bastik bug task added compiz
2013-02-06 22:53:56 bastik description In Java applications, the functions to set and get window dimensions and position do not work as expected. This problem is only observed in Unity but not gnome, Win., etc. Details: * Call setSize(200, 200) and setLocation(300,400) for a JDialog object. * If you call getSize() and getLocation() directly after making the JDialog visible, the result will be (200,200) and (300,400). Calling getSize() and getLocation() again, a split second later, the result is now (200,200) and (301,428). In both cases, the values are wrong, the size and location is actually (202,229) and (300,400) as shown by a screen capture. Consequences: * If the dialog is designed to reach to the bottom of the screen, the lower end will be cut off about 30 pixel, so the window needs to be moved by the user each time to see the lower button row (e.g. settings dialog in netbeans on medium resolution screen). * In applications that save and restore window position and size, the window will move down 28 pixel each time it is opened an closed (e.g. JOSM, preference dialog). Expected behavior: * The result of getLocation() should be constant for one window unless the user moves the window * setSize(dx,dy) should not set the size of the content pane, but the size of the entire window, including window decorations * be consistent for all Window objects, e.g. in the attached sample, the JFrame works correctly, but the JDialog shows the described bug Output of the sample code (press button "click", then press button "click2"): dlg.getLocationOnScreen()=java.awt.Point[x=300,y=400] dlg.getLocationOnScreen()=java.awt.Point[x=301,y=428] Note: Both getLocation() and getLocationOnScreen() return the same values. Observed for the following Java versions: java version "1.6.0_24" OpenJDK Runtime Environment (IcedTea6 1.11.5) (6b24-1.11.5-0ubuntu1~12.10.1) OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode) and java version "1.7.0_09" OpenJDK Runtime Environment (IcedTea7 2.3.4) (7u9-2.3.4-0ubuntu1.12.10.1) OpenJDK 64-Bit Server VM (build 23.2-b09, mixed mode) Ubuntu 12.10 unity-6.12.0-0ubuntu0.2 In Java applications, the functions to set and get window dimensions and position do not work as expected. This problem is only observed in Unity but not gnome, Win., etc. Details: * Call setSize(200, 200) and setLocation(300,400) for a JDialog object. * If you call getSize() and getLocation() directly after making the JDialog visible, the result will be (200,200) and (300,400). Calling getSize() and getLocation() again, a split second later, the result is now (200,200) and (301,428). In both cases, the values are wrong, the size and location is actually (202,229) and (300,400) as shown by a screen capture. Consequences: * If the dialog is designed to reach to the bottom of the screen, the lower end will be cut off about 30 pixel, so the window needs to be moved by the user each time to see the lower button row (e.g. settings dialog in netbeans on medium resolution screen). * In applications that save and restore window position and size, the window will move down 28 pixel each time it is opened an closed (e.g. JOSM, preference dialog). Expected behavior: * The result of getLocation() should be constant for one window unless the user moves the window * setSize(dx,dy) should not set the size of the content pane, but the size of the entire window, including window decorations * be consistent for all Window objects, e.g. in the attached sample, the JFrame works correctly, but the JDialog shows the described bug Output of the sample code (press button "click", then press button "click2"): dlg.getLocationOnScreen()=java.awt.Point[x=300,y=400] dlg.getLocationOnScreen()=java.awt.Point[x=301,y=428] Note: Both getLocation() and getLocationOnScreen() return the same values. Observed for the following Java versions: java version "1.6.0_24" OpenJDK Runtime Environment (IcedTea6 1.11.5) (6b24-1.11.5-0ubuntu1~12.10.1) OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode) and java version "1.7.0_09" OpenJDK Runtime Environment (IcedTea7 2.3.4) (7u9-2.3.4-0ubuntu1.12.10.1) OpenJDK 64-Bit Server VM (build 23.2-b09, mixed mode) Ubuntu 12.10 unity-6.12.0-0ubuntu0.2 update: same behavior in gnome classic with compiz running
2013-02-09 05:02:01 Sam Spilsbury compiz: status New Confirmed
2013-02-09 05:02:03 Sam Spilsbury compiz: assignee Sam Spilsbury (smspillaz)
2013-02-09 05:02:05 Sam Spilsbury compiz: milestone 0.9.9.2
2013-02-09 05:02:07 Sam Spilsbury compiz: importance Undecided High
2013-02-10 08:44:17 Launchpad Janitor branch linked lp:~compiz-team/compiz/compiz.fix_1110138
2013-02-19 20:38:24 PS Jenkins bot compiz: status Confirmed Fix Committed
2013-02-26 16:50:47 Launchpad Janitor compiz (Ubuntu): status New Fix Released
2013-03-02 14:14:15 ViViD attachment added Java Dialog https://bugs.launchpad.net/ubuntu/+source/openjdk-7/+bug/1110138/+attachment/3554153/+files/Screenshot%20from%202013-03-02%2005%3A58%3A40.png
2013-03-02 14:43:07 Julian Taylor bug added subscriber Julian Taylor
2013-03-04 15:59:39 Fabiano Nunes bug added subscriber Fabiano Nunes
2013-03-22 01:07:28 Federico Vera bug added subscriber Fido
2013-04-03 03:15:09 Daniel van Vugt compiz: milestone 0.9.9.2 0.9.10.0
2013-04-03 03:15:15 Daniel van Vugt nominated for series compiz/0.9.9
2013-04-03 03:15:15 Daniel van Vugt bug task added compiz/0.9.9
2013-04-03 03:15:29 Daniel van Vugt compiz/0.9.9: importance Undecided High
2013-04-03 03:15:29 Daniel van Vugt compiz/0.9.9: status New Fix Committed
2013-04-03 03:15:29 Daniel van Vugt compiz/0.9.9: milestone 0.9.9.2
2013-04-03 03:15:29 Daniel van Vugt compiz/0.9.9: assignee Sam Spilsbury (smspillaz)
2013-04-17 10:30:33 Dmitriy Balakin bug added subscriber Dmitriy Balakin
2013-04-18 11:13:47 Dmitriy Balakin attachment added Decoration bug https://bugs.launchpad.net/ubuntu/+source/openjdk-7/+bug/1110138/+attachment/3647414/+files/decoration.png
2013-07-23 22:06:55 Stephen M. Webb compiz: status Fix Committed Fix Released
2013-11-04 13:41:53 tserries bug added subscriber LVM
2013-11-04 13:42:59 tserries bug added subscriber tserries
2014-02-12 09:21:55 Luc Bruninx bug added subscriber Luc Bruninx
2014-11-25 18:22:30 Stephen M. Webb compiz/0.9.9: status Fix Committed Fix Released