Cannot raise windows from Java (toFront) - meta_window_same_application improvement
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Metacity |
Fix Released
|
High
|
|||
metacity (Ubuntu) |
Fix Released
|
Low
|
Ubuntu Desktop Bugs |
Bug Description
Binary package hint: metacity
metacity 2.22.0 and others (package metacity 2.22.0-0ubuntu4)
Ubuntu 8.04 Hardy Heron and others
Gnome bug report: http://
Java bug report: http://
Java windows cannot be brought to the front of the screen because they are not identified as belonging to the same application by Metacity. Specifically, they do not have the same group. However, they do have the same leader. By expanding the behavior of meta_window_
Yes, this is a bug filed against Java, but it is not likely going to be fixed because:
* It works for other window managers, including compiz, which have more advanced criteria for allowing windows to be raised.
* The Java spec says that it "should" move windows to the top, but doesn't have to.
There is a simple patch supplied in the linked Gnome bug report (it doesn't work directly for 2.22, but the logic of the change can be used). This patch has not received attention from the Gnome team but is very small and relatively harmless. This should be included in the Ubuntu Metacity package until Gnome takes the change.
I don't see any harm in this change, but I also don't have a very intimate understanding of what meta_window_
Changed in metacity (Ubuntu): | |
assignee: | nobody → Ubuntu Desktop Bugs (desktop-bugs) |
importance: | Undecided → Low |
status: | New → Triaged |
Changed in metacity: | |
status: | Unknown → New |
Changed in metacity: | |
importance: | Unknown → High |
Changed in metacity: | |
status: | New → Fix Released |
Changed in metacity (Ubuntu): | |
status: | Triaged → Fix Released |
Patch from the Gnome bug adjusted for the 2.22 Metacity version.