#8387 closed defect (othersoftware)
JDialog moves down in Ubuntu Unity
Reported by: | bastiK | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Core | Version: | |
Keywords: | Unity | Cc: |
Description
If you open a dialog box (e.g. download dialog) the position and size should be restored to the previous values.
However on my system, the box has moved down 28 pixels each time it is opened.
This seems to be caused by a Java or Unity bug:
If you set dlg.setLocation(300,400);
and later run dlg.getLocation()
or dlg.getLocationOnScreen()
, then the result should be (300,400), but in fact it is (301,428).
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
Attachments (1)
Change History (8)
by , 12 years ago
Attachment: | GeometryUnity.java added |
---|
comment:1 by , 12 years ago
output of test case:
dlg.getLocationOnScreen()=java.awt.Point[x=300,y=400] dlg.getLocationOnScreen()=java.awt.Point[x=301,y=428]
comment:3 by , 12 years ago
Sure, just reported here: https://bugs.launchpad.net/ubuntu/+bug/1110138
Maybe we can find a workaround in the meantime, because it's quite annoying. :)
follow-up: 5 comment:4 by , 12 years ago
Thanks. I have added JOSM and myself as impacted project/user, it increases the bug heat :)
comment:5 by , 12 years ago
Replying to Don-vip:
Thanks. I have added JOSM and myself as impacted project/user, it increases the bug heat :)
Thanks to you too, it seems to have worked. (That and assigning it to the correct project. :) )
Closing this ticket because upstream bugfix is on the way.
comment:6 by , 12 years ago
Resolution: | → othersoftware |
---|---|
Status: | new → closed |
small test case