Giter Club home page Giter Club logo

Comments (11)

bbidulock avatar bbidulock commented on September 4, 2024

Good work on the bisect. Is there a reason that you don't just put

ActivateJava7FocusHack 0

in your preferences file? Maybe the default should be false instead of true?

from icewm.

mharder avatar mharder commented on September 4, 2024

Setting "ActivateJava7FocusHack=0" in the preferences file fixes the issue in RXVT-Unicode terminals. For some reason, I read that commit message to be referring to a hard-coded setting for that variable, and it didn't strike me that it was an option in the preferences file.

I'm reluctant to weigh in on the proper default since I'm unfamiliar with the Java(7) issue that is addressed by this patch.

But it would be nice if it was somehow more obvious to either the Java(7) users or the RXVT-Unicode users that problems they encounter may be related to this setting.

Thanks for the feedback.

from icewm.

bbidulock avatar bbidulock commented on September 4, 2024

Is this issue resolved?

from icewm.

mharder avatar mharder commented on September 4, 2024

Can you point me to a Java(7) application that requires this patch (or perhaps all Java(7) apps require this, I'm not familiar with the issue). I'd like to poke around at trying for a real fix if I can find a way to replicate the original issue.

from icewm.

mmogilvi avatar mmogilvi commented on September 4, 2024

FYI: Another application broken by the Java(7) focus hack is "display" (part of the imagemagick 6.9.0.3 package). In most cases the keyboard focus hotkeys seem to be delivered to some other window even when the image window visually has focus (according to the border). Occasionally I stumble over a state where key press events are handled properly, but I haven't narrrowed down exactly when/how.

Setting ActivateJava7FocusHack=0 fixes it. (Or actually, there is still a long-standing slight annoyance where when I hit the spacebar to go to the "next" image, some other window often gets focus until I move the mouse out and back in again. [I've tried to configure it as closely to pure "focus follows mouse" as I can get.] But at least focus is visually consistent with the border, it is much easier to get focus back where I want it than with the java hack enabled, and I suspect this annoyance is not really related to the java hack.)

@mharder: Maybe zstegi at the gmail dot com host (the author of the hack) would know more? Also, based on commit comments, commit d3b00cc apparently also involved some kind of java focus issue, but I have no idea how closely it is related.

from icewm.

mharder avatar mharder commented on September 4, 2024

I sent an email to zstegi a week ago.

Hopefully, we'll hear something back.

I've been running iced-tea-7.2.5.5 with vuze and imule (two java based p2p tools). I have ActivateJava7FocusHack=0, and can't discern any issues with focus.

Although, I'm not sure if perhaps this is Oracle Java specific. If anybody has any other Java applications they'd like me to test, let me know.

Otherwise, if we don't hear back from zstegi, and we don't run across any Java applications that trigger the issue, then maybe switching the default for this parameter to disabled would a good way to close this issue.

from icewm.

bbidulock avatar bbidulock commented on September 4, 2024

Are you using click-to-focus? Most focus problems arise when doing strict click-to-focus.

from icewm.

mharder avatar mharder commented on September 4, 2024

Except for the ActivateJava7FocusHack parameter, all my other Focus settings for IceWM are the defaults. So, I should be running with ClickToFocus=1, and everything seems to be operating that way.

I gave vuze an especially long workout, including switching windows with the mouse.

from icewm.

bbidulock avatar bbidulock commented on September 4, 2024

I think we should just go ahead and change the default to 0. I wanted to cut another release because things have been stable for about a month.

from icewm.

mharder avatar mharder commented on September 4, 2024

That would be OK with me.

Let me know if you here any reports of that causing problems, and I'll try to replicate it locally.

from icewm.

bbidulock avatar bbidulock commented on September 4, 2024

Default ActivateJava7FocusHack now set to false (0).

from icewm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.