Issue 559 in xmonad: Redraw of Gnomeapps fails

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
13 messages Options
Reply | Threaded
Open this post in threaded view
|

Issue 559 in xmonad: Redraw of Gnomeapps fails

codesite-noreply@google.com
Status: New
Owner: ----

New issue 559 by dragonch... at 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


Reply | Threaded
Open this post in threaded view
|

Issue 559 in xmonad: Redraw of Gnomeapps fails

codesite-noreply@google.com

Comment #1 on issue 559 by MathStuf at 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


Reply | Threaded
Open this post in threaded view
|

Issue 559 in xmonad: Redraw of Gnomeapps fails

codesite-noreply@google.com

Comment #2 on issue 559 by dragonch... at 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


Reply | Threaded
Open this post in threaded view
|

Issue 559 in xmonad: Redraw of Gnomeapps fails

codesite-noreply@google.com

Comment #3 on issue 559 by daniel.w... at 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 <daniel at 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


Reply | Threaded
Open this post in threaded view
|

Issue 559 in xmonad: Redraw of Gnomeapps fails

codesite-noreply@google.com

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


Reply | Threaded
Open this post in threaded view
|

Issue 559 in xmonad: Redraw of Gnomeapps fails

codesite-noreply@google.com

Comment #5 on issue 559 by tmartin.... at 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

Reply | Threaded
Open this post in threaded view
|

Issue 559 in xmonad: Redraw of Gnomeapps fails

codesite-noreply@google.com

Comment #6 on issue 559 by RoySin... at 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

Reply | Threaded
Open this post in threaded view
|

Issue 559 in xmonad: Redraw of Gnomeapps fails

codesite-noreply@google.com

Comment #7 on issue 559 by RoySin... at 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

Reply | Threaded
Open this post in threaded view
|

Issue 559 in xmonad: Redraw of Gnomeapps fails

codesite-noreply@google.com

Comment #8 on issue 559 by dragonch... at 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

Reply | Threaded
Open this post in threaded view
|

Issue 559 in xmonad: Redraw of Gnomeapps fails

codesite-noreply@google.com

Comment #9 on issue 559 by allber... at 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

Reply | Threaded
Open this post in threaded view
|

Issue 559 in xmonad: Redraw of Gnomeapps fails

codesite-noreply@google.com

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:  
http://absint.online.ntnu.no/~norangsh/scrot/screenshoot-20131104_155551.png)
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

Reply | Threaded
Open this post in threaded view
|

Re: Issue 559 in xmonad: Redraw of Gnomeapps fails

codesite-noreply@google.com

Comment #11 on issue 559 by [hidden email]: 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
_______________________________________________
xmonad mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad
Reply | Threaded
Open this post in threaded view
|

Re: Issue 559 in xmonad: Redraw of Gnomeapps fails

codesite-noreply@google.com

Comment #12 on issue 559 by [hidden email]: 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
_______________________________________________
xmonad mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad