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 26290 - hotkeys stop working after opening Form editor
Summary: hotkeys stop working after opening Form editor
Status: VERIFIED WORKSFORME
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 3.x
Hardware: PC Windows XP
: P2 blocker (vote)
Assignee: David Simonek
URL:
Keywords: A11Y
Depends on:
Blocks:
 
Reported: 2002-08-05 16:24 UTC by Morten Moeller
Modified: 2008-12-22 21:26 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 Morten Moeller 2002-08-05 16:24:44 UTC
hotkeys (most noticeably ctrl-s for save) stops working in 
the 3.4 RC1 build after I open the Form editor. When it 
closes and I try to press ctrl-s in the source window to 
save the changed form, it doesn't work. I have to go up on 
the File menu and save from there.

This is reproduceable every time I do it and therefore it 
renders a lot useless. It seems all hotkeys (I tried ctrl-
o and a few others) stops working (I assume the hidden 
form editor is really in control of them somehow). 

My configuration should be fairly standard (I use separate 
windows not MDI) and I did import my settings from 3.3.2 
(which also causes some errors during startup about xml).

I feel this is a pretty high priority if it happens for 
most configurations.
Comment 1 Marian Mirilovic 2002-08-05 17:08:59 UTC
Could you provide us exact steps to reproduce? Is it still
reproducible? Only opening form file cause this behaviour? 
What after switching workspaces?
Which JDK version/number do you use? NetBeans build number ?

It's unreproducible on Solaris5.8 & [jdk1.4.1](rc), neither Win2K &
[jdk1.4.0](01).
Comment 2 Morten Moeller 2002-08-05 17:28:34 UTC
My current environment is:

P4 1500, 512MB, Windows XP
JDK 1.4.1 RC1
NetBeans IDE 3.4 RC1

--

This happens both for me and a coworker (his setup is the 
same just a smaller machine and he uses 1.4.0). On his 
machine we simply created a new JFrame, added a button to 
it in the form editor, closed it, and tried to save it in 
the source window with ctrl-s or F11. None worked. In his 
environment though, hotkeys started to work again after he 
switched workspace from GUI editing to Editing, which 
doesn't happen in my environment. It is reproduceable 
every time.

I think both of us imported settings from earlier Netbeans 
versions. I can attach my configuration if that is 
helpful, just tell me which directories are needed. 

If there is any workspace workaround I'd be really 
appriciated if anyone knew of one restarting Netbeans 
every time I open the form editor gets annoying. 

Also I tested this at home on Netbeans 3.4 JDK1.4beta3 it 
does -not- happen. The main difference between home and 
work is that I didn't import settings from an earlier 
version on that one. 

Comment 3 Marian Mirilovic 2002-08-06 14:19:45 UTC
Well, I have spend time on evaluating this issue, I tried :

- import settings from NB3.2, 3.3 , 3.3.2 
- create new JFrame
- add JButton
- close Form Editor window by x button on the title bar
- click to Source Editor window  
- press Ctrl+S 
-> it allways works 

I have tested on Win2K/jdk1.4.1.{rc1}, MDI.

So we need more info, please attach your original userdir(userdir from
that you import settings), if nothing confidential there are.

Which NB did you used (from that you import settings)? 
MDI or SDI? 
Are you sure Source Editor Window has focus when you press Ctrl+S? 
If you invoke popup menu on Source Editor window(at the time when
Ctrl+S didn't save it), has actions (Save, Compile, Build) enabled? 
If yes please push Compile and in Status Bar is written message about
compiling file, was right file compiled?

I don't know where is problem, but we have still trouble with focus,
maybe another node in Explorer is selected and you invoke action
(Save) for them, this should be reason for not saving file selected in
Source Editor. 

Please provide us more info as soon as possible, because this is high
priority issue that must be fixed to RC2 (08/08-09). Thanks in
advance.
Comment 4 David Simonek 2002-08-06 14:57:09 UTC
Yes, I agree with Marian - as we can't reproduce, we need more info to
be able to do anything with this bug. Please, try to find out following:
1) Does import step really matters? Please try to run clean 3.4 RC1
(use runide -userdir "some_new_empty_dir"), don't do import. Does the
bug still occurs?
2) As Marian suggested, try to escape somehow from bad behaviour - try
to click on various nodes in explorer, in various windows and watch if
shortcuts started to work.

If 1) seemed to bring system to correct state, we would need content
of your userdir to examine. Thanks.

Comment 5 Marian Mirilovic 2002-08-07 11:00:04 UTC
We still cannot reproduce it and we haven't more informations yet.
Without reproducible scenario we cannot do nothing. Please add more
info.

I decrease priority to P2 (unreproducible) and we are waiting for your
input. 

Pottentional root of these problems should be in your previous using
JDK1.4, than 1.3 and than again 1.4 (please have a look at
http://editor.netbeans.org/faq.html  Question:All SHIFT/CTRL/ALT
shortcuts do not work.)

Thanks for your time.


Dafe: please mark this one as 3.4_WAIVER and ask for waiver on
reviewers@netbeans.org, thanks advance.
Comment 6 David Simonek 2002-08-07 16:51:15 UTC
Yes, I'm marking as 3.4_WAIVER (not to be fixed in 3.4 release)
because bug report is incomplete and we weren't able to reproduce this
bug with given incomplete info.
As we don't have a clue where the problem may lie, we are unable to fix.
Comment 7 Marian Mirilovic 2002-09-13 14:06:23 UTC
No additional info more than one month. As I and Dafe wrote a long 
time ago, without new info we cannot do nothing. It is still 
unreproducible, so I am closing as WORKSFORME. If you add asked 
information, please reopen.
Thanks.
Comment 8 Marian Mirilovic 2003-07-29 10:44:42 UTC
Without new informations for long time - verifying.