#3780 Broken windows and mouse with OpenJDK 7+Awesome WM

closed-wont-fix
nobody
5
2013-03-08
2013-03-08
Victor Engmark
No

Version from About page: "jEdit 5.0pre1 server mode, using Sun Microsystems Inc. Java 1.6.0_27"
Platform: Ubuntu 12.10 with all the latest patches and Awesome WM

How to reproduce:
1. Install openjdk-6-jre and openjdk-7-jre.
2. Run `sudo update-alternatives --config java`.
3. Choose "/usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java".
4. Run `jedit`.

Result:
- Buffer widget not aligned with window, and a gray box for the Options window. See screenshots.
- Mouse pointer misalignment. That is, when I move the mouse around in a menu it highlights items which are not where the mouse pointer is displayed. This gets worse with more mouse movement.

Workaround: Select "/usr/lib/jvm/java-6-openjdk-amd64/jre/bin/java" as the Java option.

Discussion

  • Dale Anson
    Dale Anson
    2013-03-08

    I've been running openjdk 7 for about a year with no problems. I think your problem might be awesome. I tried it out last summer, and recall having some problems with some apps, but I don't recall that jEdit was one of those. I've switched from ubuntu to arch since then, but I'll give awesome another try and see if I can reproduce your problem.

     
  • Dale Anson
    Dale Anson
    2013-03-08

    Yeah, it's awesome. jEdit runs fine on openjdk 7 and xfce4, I switch over to awesome and I get the same issues you do. So this appears to be a problem with either awesome or java 7 on awesome, neither of which are fixable from within jEdit. Your java 6 workaround may be the only solution for now.

    I marked this as "won't fix" but really, it's "can't fix".

     
  • Dale Anson
    Dale Anson
    2013-03-08

    • status: open --> closed-wont-fix
     
  • Victor Engmark
    Victor Engmark
    2013-03-08

    Thanks for the quick check. Staying with Java 6 is no problem for now.

     
  • Alan Ezust
    Alan Ezust
    2013-03-08

    It does not seem to be an issue with Java7 since Java7 + jEdit work fine under KDE and as Dale said, XFCE.
    Also, I don't understand why the "about jedit" dialog reports you were running java6 when you were running java7.
    Maybe the JAVA_HOME is not set properly.

     
  • Alan Ezust
    Alan Ezust
    2013-03-08

    • summary: Broken windows and mouse with OpenJDK 7 --> Broken windows and mouse with OpenJDK 7+Awesome WM
     
  • Victor Engmark
    Victor Engmark
    2013-03-08

    I *started* with Java 6, which is why it said as much in the About window.