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 164712 - Editor stops working in a Remote Desktop session
Summary: Editor stops working in a Remote Desktop session
Status: RESOLVED INCOMPLETE
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@platform
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-07 16:53 UTC by _ gtzabari
Modified: 2012-09-20 15: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 _ gtzabari 2009-05-07 16:53:17 UTC
1) Connect to a computer using remote desktop
2) Launch Netbeans
3) Open a project file in the editor
4) Use the up/down arrow keys to move the caret up and down *without* scrolling the page up/down
5) Disconnect Remote Desktop without closing Netbeans
6) Reconnect using Remote Desktop
7) Repeat step 4 (try using the up/down arrow keys), the entire page will scroll as if you're hitting CTRL+up/CTRL+down

This problem is reproducible 100% of the time. The only way to fix Netbeans is to restart it. I haven't seen this
behavior in any other application.
Comment 1 Jiri Prox 2009-05-11 11:11:25 UTC
Can you please try it with notepad.jar (<jdk_home>/demo/jfc/Notepad)
What OS do you use (on remote and local machine)?
What version of JDK do you use?

Thanks
Comment 2 Vitezslav Stejskal 2009-05-11 11:30:50 UTC
There is also issue #143830, which describes similar problem, but under different circumstances. It also refers to a JDK
bug, that could be the real cause of this. Please provide the info requested by jiriprox, thanks.
Comment 3 _ gtzabari 2009-05-11 22:35:48 UTC
Windows Vista 64-bit, JDK 1.6.0_14-ea-b05. Notepad.jar works fine.
Comment 4 _ gtzabari 2009-06-09 19:24:38 UTC
Can someone from the Netbeans team please confirm you can reproduce this issue?
Comment 5 _ gtzabari 2009-08-07 16:52:02 UTC
Can someone please take a look at this issue? Let me know if you need me to do anything on my end.
Comment 6 _ gtzabari 2009-10-14 18:03:53 UTC
The situation has improved slightly. Under Windows7 JDK 1.6.0_18-ea-b03 when I use Remote Desktop to connect back into
the computer I can now click on the editor and the arrow keys work fine.

The one remaining bug is that when you reconnect using Remote Desktop, hitting CTRL+0 seems to do nothing. You cannot
regain Editor focus using the keyboard. It only works using the mouse for some reason. Fix this last issue and I think
we're done.

Also, it's not clear whether the previous problem was fixed on the Netbeans end, JDK end or on the OS end which is why I
would love to have a second person confirm my findings. Help please! :)
Comment 7 Miloslav Metelka 2009-10-21 13:12:12 UTC
Ctrl+0 implemented in platform. Reassigning.
Comment 8 Stanislav Aubrecht 2011-10-06 10:18:22 UTC
please reopen if this issue is still valid, thanks
Comment 9 _ gtzabari 2011-10-06 14:15:05 UTC
The bug is still valid in Netbeans 7.1:

Product Version: NetBeans IDE Dev (Build 201109180600)
Java: 1.7.0; Java HotSpot(TM) 64-Bit Server VM 21.0-b17
System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)
User directory: C:\Users\Gili\.netbeans\dev
Cache directory: C:\Users\Gili\.netbeans\dev\var\cache
Comment 10 Stanislav Aubrecht 2012-09-20 15:26:53 UTC
Reporter, are other keyboard shortcuts like Ctrl+1, Ctrl+2 working?
If you remap 'Focus Editor' action to a different shortcut, is it working then?
When you press Ctrl+0 does input focus move some other component (even an invisible one) or does it stay in the same component as before?