Discussion:
[xmonad] Issue 559 in xmonad: Redraw of Gnomeapps fails
c***@google.com
2013-09-16 14:46:27 UTC
Permalink
Status: New
Owner: ----

New issue 559 by ***@gmail.com: Redraw of Gnomeapps fails
http://code.google.com/p/xmonad/issues/detail?id=559

What steps will reproduce the problem?
1. Start Gnome3 Application
2. Click a widget within that application


What is the expected output? What do you see instead?
Expected: The application should perform the requestet action and redraw
the app with the results.

Displayed: The Gnome app performs the action but does not redraw the ui,
when switching to another desktop and back the App shows the proper output.

What version of the product are you using? On what operating system?
- Gentoo hardened (Kernel 3.10.8 and 3.11.1)
- xmonad 0.11
- Gnome 3.8.4

Are you using an xmonad.hs? Please attach it and the output of "xmonad
--recompile".

Please provide any additional information below.
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
c***@google.com
2013-09-18 03:16:11 UTC
Permalink
Comment #1 on issue 559 by ***@gmail.com: Redraw of Gnomeapps fails
http://code.google.com/p/xmonad/issues/detail?id=559

Is there a specific application which does this? GTK3 is working fine here
(uzbl using webkitgtk3).
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
c***@google.com
2013-09-19 07:10:22 UTC
Permalink
Comment #2 on issue 559 by ***@gmail.com: Redraw of Gnomeapps fails
http://code.google.com/p/xmonad/issues/detail?id=559

I have only a few apps I still use:
- pavucontrol
- gnome-control-center
- nm-applett
those are efected, strangly my haskell gui (leksah, which uses gtk afaik)
works fine....
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
c***@google.com
2013-09-24 19:25:00 UTC
Permalink
Comment #3 on issue 559 by ***@gmail.com: Redraw of Gnomeapps fails
http://code.google.com/p/xmonad/issues/detail?id=559

I noticed this problem with my config. According to "darcs log", this is
the patch where I fixed it, you might check what I did to
XMonad.Config.Dmwit and see if you can do something similar to yours.

Tue Aug 13 17:16:36 EDT 2013 Daniel Wagner <***@wagner-home.com>
* don't pretend to be LG3D in X.C.Dmwit because this confuses modern GTK
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
c***@google.com
2013-10-01 12:39:32 UTC
Permalink
Comment #4 on issue 559 by ***@gmail.com: Redraw of Gnomeapps fails
http://code.google.com/p/xmonad/issues/detail?id=559

Wonderful, that solves it thank you :)
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
codesite-noreply
2013-10-01 12:39:32 UTC
Permalink
Comment #4 on issue 559 by dragonch... at gmail.com: Redraw of Gnomeapps fails
http://code.google.com/p/xmonad/issues/detail?id=559

Wonderful, that solves it thank you :)
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
c***@google.com
2013-11-03 01:53:34 UTC
Permalink
Comment #5 on issue 559 by ***@gmail.com: Redraw of Gnomeapps fails
http://code.google.com/p/xmonad/issues/detail?id=559

I have this problem with gnucash in xmonad 0.11 on lubuntu 13.10. I've
dropped the LG3D reference in my xmonad.hs. As I've had no luck, I wonder
if I've understood the advice in this thread. TIA for any pointers you can
give.
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
c***@google.com
2013-11-04 13:49:06 UTC
Permalink
Comment #6 on issue 559 by ***@gmail.com: Redraw of Gnomeapps fails
http://code.google.com/p/xmonad/issues/detail?id=559

I have the same as issues as described in the bug report.

I've also tried fetching the latest xmonad and xmonad-contrib built from
darcs. I need to remove the SetWMName startup hook and ICCCMFocus
takeTopFocus loghook to have gnome applications redraw normally.

So currently I'm in a flux where I can't use PyCharm (Jetbrains Java IDE
and other java applications) or not having any working gtk3 applications.

Issue can easily be reproduced by using "wmname" from suckless-tools
(Debian Sid) to set anything for wmname to make gnome applications break.

FAQ seems also to be updated after I reported this on IRC:
http://www.haskell.org/haskellwiki/index.php?title=Xmonad%2FFrequently_asked_questions&action=historysubmit&diff=57053&oldid=56813 .
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
c***@google.com
2013-11-04 13:50:15 UTC
Permalink
Comment #7 on issue 559 by ***@gmail.com: Redraw of Gnomeapps fails
http://code.google.com/p/xmonad/issues/detail?id=559

I have the same as issue as described in the bug report.

I've also tried fetching the latest xmonad and xmonad-contrib built from
darcs. I need to remove the SetWMName startup hook and ICCCMFocus
takeTopFocus loghook to have gnome applications redraw normally.

So currently I'm in a flux where I can't use PyCharm (Jetbrains Java IDE
and other java applications) or not having any working gtk3 applications.

Issue can easily be reproduced by using "wmname" from suckless-tools
(Debian Sid) to set anything for wmname to make gnome applications break.

FAQ seems also to be updated after I reported this on IRC:
http://www.haskell.org/haskellwiki/index.php?title=Xmonad%2FFrequently_asked_questions&action=historysubmit&diff=57053&oldid=56813 .
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
c***@google.com
2013-11-04 13:51:26 UTC
Permalink
Comment #8 on issue 559 by ***@gmail.com: Redraw of Gnomeapps fails
http://code.google.com/p/xmonad/issues/detail?id=559

pycharm/phpstorm works fine for me now.... (wich vm are you using?)
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
c***@google.com
2013-11-04 14:40:55 UTC
Permalink
Comment #9 on issue 559 by ***@gmail.com: Redraw of Gnomeapps fails
http://code.google.com/p/xmonad/issues/detail?id=559

suckless wmname *itself* breaks gnome (2 and 3), and in more ways than just
gtk+ refresh, because it sets the WM identification window to be the root
window instead of a hidden window, so that can't actually be used to
reproduce this problem.
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
c***@google.com
2013-11-04 15:33:37 UTC
Permalink
Comment #10 on issue 559 by RoySindre: Redraw of Gnomeapps fails
http://code.google.com/p/xmonad/issues/detail?id=559

#8 :

I've tried these jvm's:
Oracle JDK 1.6 (grey window. like:
Loading Image...)
Oracle JDK 1.7u45 (grey window)
OpenJDK 7u25 (it crases PyCharm with Caused by:
java.lang.ClassCastException:
com.intellij.openapi.wm.impl.TestWindowManager cannot be cast to
com.intellij.openapi.wm.impl.WindowManagerImpl ) (currently an internal bug
the console says, will report upstream afterwards)
OpenJDK 1.6u27 (nothing happens after the OpenJDK warning... no window
spawned or anything.)

PyCharm works as it should if I'm using JDK1.6 from Oracle with the
setWMName and takeTopFocus loghook.
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
c***@google.com
2015-07-31 10:39:18 UTC
Permalink
Comment #11 on issue 559 by ***@googlemail.com: Redraw of Gnomeapps
fails
https://code.google.com/p/xmonad/issues/detail?id=559

The solution is to NOT USE the SetWMName extension in order to convince
Java that xmonad is "LG3D" (which is a deprecated way of working around the
gray java windows). Because this SetWMName breaks GTK3-apps, see the xmonad
FAQ:
https://wiki.haskell.org/Xmonad/Frequently_asked_questions#Using_SetWMName

Instead use the preferred method (see FAQ
https://wiki.haskell.org/Xmonad/Frequently_asked_questions#Preferred_Method)
and set an environment variable _JAVA_AWT_WM_NONREPARENTING=1 at startup. I
did this by adding the following to my xmonad.hs:

import System.Posix.Env (putEnv)

and adding the putEnv line to the startup of xmonad:

main = do
putEnv "_JAVA_AWT_WM_NONREPARENTING=1"


Now I can use all java applications and GTK3-apps.
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
c***@google.com
2015-07-31 10:43:29 UTC
Permalink
Comment #12 on issue 559 by ***@googlemail.com: Redraw of Gnomeapps
fails
https://code.google.com/p/xmonad/issues/detail?id=559

This “bug” is solved and can be closed as it is not a bug but just a
configuration issue which is now documented here and in the xmonad FAQ.

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

Loading...