Posted: Wed Oct 13, 2010 1:52 pm Post subject: Little focus bug
Not really a big deal, but on the unlikely chance that Patrick is looking for something to dig into:
If you have the navigator open and then choose a background colour, the focus shifts to the navigator window. This is quite logical, as that is the topmost window. But it is also not useful because one is unlikely to want to do something in the navigator just after setting a colour.
This is a minor annoyance as it is easily overcome by clicking in the document window or prevented by temporarily closing the navigator. _________________ "What do you think of Western Civilization?"
"I think it would be a good idea!"
- Mohandas Karamchand Gandhi
NeoOffice's focus behavior (setting focus to the first floating window when a floating window is closed) is definitely not the normal Mac OS X behavior so narf has created bug 3637 to track this bug.
After doing some debugging last night and found that this behavior appears to be caused by Apple's Java code. Fortunately, I could override the Java behavior in our native code by setting the focus to the first non-floating window before Apple's Java has a chance to set the focus.
Can you install the following test patch and tell us if this bug is fixed for you? In particular, can you also make sure it that moving through all open NeoOffice documents using the Command-~ shortcut still works OK?:
Your patch seems to bring about the desired behaviour. I did not test with many documents, but with the ones I did test, focus switches fine and command-~ also worked fine (in the sense that it only switches between documents, not cycle through floating windows).
Best wishes,
Oscar _________________ "What do you think of Western Civilization?"
"I think it would be a good idea!"
- Mohandas Karamchand Gandhi
FYI. I have included the fix for the OpenOffice.org incorrect Notes setting bug in NeoOffice 3.1.2 Patch 1. You can download the patch from the NeoOffice patch download page.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum