Comments (11)
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.
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.
Is this issue resolved?
from icewm.
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.
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.
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.
Are you using click-to-focus? Most focus problems arise when doing strict click-to-focus.
from icewm.
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.
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.
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.
Default ActivateJava7FocusHack now set to false (0).
from icewm.
Related Issues (20)
- Ugly popups in Google Chrome HOT 1
- Problem with pulldown menus on websites HOT 1
- Support shutdown/reboot/sleep on FreeBSD HOT 2
- Higher background CPU load due to some amok running timer HOT 2
- After restart IceWM the window of XXkb does not fall back into the tray. HOT 1
- [Idea] IceWM ready for small handheld devices and power-constrained systems as well as small screens?
- IconPath can not handle '~' or '$HOME' HOT 1
- [Feature request] Could it be made easier to change the font size and task bar width and height? HOT 2
- PassFirstClickToClient set to false prevents toolbar to handle left click HOT 19
- Unmaximizing a window doesn't work if previous size is the same HOT 3
- Need a little help HOT 4
- Certain window items are unclickable on Firefox under IceWM HOT 4
- lxterminal, xterm windows sporadically flash on task bar without reason HOT 24
- Graphical applications cannot be started after changing the hostname HOT 2
- DirPtr pointer operator overflow fails
- iconv `inbuf` wants a const char **
- Dragging on titlebars on GTK4 apps makes PC unresponsive HOT 10
- Unmaximize when dragging action (from a window title) starts HOT 2
- icewm-keys executes command for 'Shift+XF86AudioPlay' instead of 'XF86AudioPause' (which should be used with Shift - declared in Xmodmap) HOT 6
- Remember window order on restarts HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from icewm.