Bug 1053303
| Summary: | Java (Swing/AWT) windows look unfocused when focused (grey title bar and close button) | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Robin Stocker <robin> | ||||||||||
| Component: | gnome-shell | Assignee: | Owen Taylor <otaylor> | ||||||||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||||
| Severity: | medium | Docs Contact: | |||||||||||
| Priority: | unspecified | ||||||||||||
| Version: | 20 | CC: | ahughes, dbhole, fmuellner, jerboaa, jperkins, jvanek, omajid, otaylor, samkraju, sgehwolf, stefan.home, tom.jenkinson, walters | ||||||||||
| Target Milestone: | --- | ||||||||||||
| Target Release: | --- | ||||||||||||
| Hardware: | x86_64 | ||||||||||||
| OS: | Linux | ||||||||||||
| Whiteboard: | |||||||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||||||
| Doc Text: | Story Points: | --- | |||||||||||
| Clone Of: | Environment: | ||||||||||||
| Last Closed: | 2014-02-06 15:54:20 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
Robin Stocker
2014-01-15 00:18:32 UTC
See also these messages for other reports of this problem: https://mail.gnome.org/archives/gnome-shell-list/2014-January/msg00007.html Robin, in the referenced thread Vadim claims that this is a problem with gnome-shell 3.10[1]. Thoughts? [1] https://mail.gnome.org/archives/gnome-shell-list/2014-January/msg00012.html It is a problem with Swing/AWT applications when run in gnome-shell. It does not occur with GTK 2/3 applications. I don't know if it also occurs in other window managers. So I don't know whether the bug is in gnome-shell or in java. I filed it against java because a previous problem like this turned out to be there, see bug 918055. But it certainly wouldn't hurt if gnome-shell people could have a look at it. I found the following mutter bug, which also describes the focusing problem: https://bugzilla.gnome.org/show_bug.cgi?id=711618#c2 So it looks like this problem can be fixed in mutter. Versions that show the problem currently: mutter 3.10.2 gnome-shell 3.10.2.1 Robin, does the update in[1] fix the problem then? [1] https://admin.fedoraproject.org/updates/mutter-3.10.2-6.fc20 I already had this version installed (sorry for not including the release): Installed Packages Name : mutter Arch : x86_64 Version : 3.10.2 Release : 6.fc20 So no, it does not fix the problem I'm afraid. Created attachment 851526 [details]
Simple demo illustrating the issue.
Created attachment 851529 [details]
Running the demo with java window in focus on F19
Created attachment 851530 [details]
Running the demo with java window in focus on F20
Created attachment 851531 [details]
Non java window in focus on F20
This is looking like a gnome-shell regression to me. Comment 7 has a simple Java program attached. You can run it by; $ javac FocusBorderDemo.java && java FocusBorderDemo If I run this on F19 I get correct window decorations (including the drop shadow) if the window is in focus. When that same demo is run on F20 it looks as illustrated by the attachment of comment 9. However, the java versions are the same. This yields me to believe it's not an openjdk bug. On F19 I have: $ java -version java version "1.7.0_51" OpenJDK Runtime Environment (fedora-2.4.4.0.fc19-x86_64 u51-b02) OpenJDK 64-Bit Server VM (build 24.45-b08, mixed mode) On F20 I have: $ java -version java version "1.7.0_51" OpenJDK Runtime Environment (fedora-2.4.4.0.fc20-x86_64 u51-b02) OpenJDK 64-Bit Server VM (build 24.45-b08, mixed mode) Re-assigning to gnome-shell. Everything seems to be working fine in Gnome Shell 3.10.3 now for me at least. I can confirm. Attached simple Java program looks OK with newest gnome-shell. $ rpm -q gnome-shell gnome-shell-3.10.3-2.fc20.x86_64 Yes, can confirm that it works again with gnome-shell-3.10.3-2.fc20.x86_64. This bug can be closed, thank you. |