This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 87044 - Shift-Esc does not always work (no response in certain cases)
Summary: Shift-Esc does not always work (no response in certain cases)
Status: NEW
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 6.x
Hardware: All Linux
: P4 blocker (vote)
Assignee: issues@platform
URL:
Keywords: FOCUS, RANDOM
Depends on:
Blocks:
 
Reported: 2006-10-13 00:02 UTC by abonnema
Modified: 2010-08-11 13:29 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description abonnema 2006-10-13 00:02:29 UTC
Running Linux and Netbeans 6.0 M2 I often get to a point where Shift-Esc does 
not work any more. In order to get it restarted I have to restart Netbeans.

It happens only while I am in the process of coding-testing-coding-testing 
using JUnit and Shift-F6 a lot.

This bug might or might not be related to bug 36791 (Shift--Esc opens XWindows 
menu on Solaris instead of Maximize restore).
Comment 1 abonnema 2006-10-13 00:12:28 UTC
Additional information:

it turns out that under some unknown conditions (to me) when I rerun a test 
using Shift-F6, the Shift-Esc starts working again.
Comment 2 Marian Mirilovic 2006-10-13 10:25:34 UTC
What JDK are you using ? Also your window manager would be probably realted here ...
Comment 3 abonnema 2006-10-13 12:44:10 UTC
I am using Ubuntu Dapper with Gnome window manager.
The JDK I use is java-1.5.0-sun-1.5.0.06.
Comment 4 abonnema 2006-10-14 07:10:01 UTC
I have found a condition that reverts the ability to use Shift-Esc. 

When --- after running a test --- shift-esc does not work, I first maximize 
using popup menu out of the right mouse buttonclick on the tab of the file I am 
editting. If I then use shift-esc, it works again. And remains working until 
the next test.

Hope this helps.
Comment 5 David Simonek 2007-01-04 14:10:44 UTC
I cannnot reproduce on my Windows - I need more information to have a chance to
fix this issue. Try to watch and describe where focus goes and specify steps for
reproduction exactly one after other, thanks.
Comment 6 abonnema 2007-01-04 15:09:46 UTC
Hi dsimonek,

Since I stepped back to netbeans 5.5, the issue disappeared. I apologize for 
the inconvenience.

From memory I know that the issue occurred if I had maximized the edit window 
with shift-esc and (after editting) did a shift-f6 without switching back using 
shift-esc. From this point on shift-esc wouldn't work. After I used the 
maximize function of shift-esc through menu options, the shift-esc worked 
again. Until the next shift-F6 etc.etc.

When in maximized edit, doing a shift-F6 netbeans switches back to the 
non-maximized state. From that time on the shift-esc quits working until using 
the menu option with shift-esc. Is the shift-esc function depending on a 
remembered state? This would be the only explanation I could think of.

Hope this helps.

Guus.
Comment 7 Jaromir Uhrik 2009-05-11 10:38:35 UTC
The workaround is to invoke action from main menu Window>Maximize Window (or Window>Restore Window in case that the window is maximized).