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 201365 - Gnome 3 and NetBeans
Summary: Gnome 3 and NetBeans
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Key bindings (show other bugs)
Version: 7.4
Hardware: PC Linux
: P1 normal (vote)
Assignee: Jan Lahoda
URL:
Keywords:
Depends on: 200144
Blocks:
  Show dependency tree
 
Reported: 2011-08-26 14:31 UTC by awake
Modified: 2016-01-29 15:06 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screenshots that describes the issue (741.93 KB, application/octet-stream)
2011-08-26 14:44 UTC, awake
Details
Russian layout debug (6.47 KB, text/plain)
2011-08-30 13:53 UTC, awake
Details
English layout debug (4.64 KB, text/plain)
2011-08-30 13:53 UTC, awake
Details

Note You need to log in before you can comment on or make changes to this bug.
Description awake 2011-08-26 14:31:25 UTC
I am using Gnome 3 (Fedora 15), NetBeans 7.0.1 and JDK 7. In Gnome 2 all works good, but not on Gnome 3.
And now I have two problems.
The first problem is I can't use menu in maximized NetBeans. It solves with setting fixed size without maximization.

The next problem is unresolvable. I have two keyboard layouts in my OS: russian and english. So if I use russian layout I can't use Ctrl+Z combination but if I switch layout to english Ctrl+Z is work. This is too inconvenient.
Same problem with Hints. I attached some screenshots so you can see it. If I use english layout I do Alt+Enter on the Hint line and press Enter after that and context menu not works (its shown but not work!) but enter works in the editor and makes the new line. If I switch layout to russian all works perfectly. I can't see any relations in it so I think that this is the bug which make work very uncomfortable.
Comment 1 awake 2011-08-26 14:44:10 UTC
Created attachment 110247 [details]
Screenshots that describes the issue
Comment 2 awake 2011-08-26 15:17:42 UTC
Ok I've discovered if for example I use three layouts (english, russian and deutsche, in this order, this is important) I can use Alt+Enter+Enter always only and only for the first layout in the list. If I change russian and english positions in the list (move russian to the first position) this means that on the russian layout and only on the russian I can use Alt+Enter+Enter. And so on.
And! If russian NOT on the first position but on the second or bottom I can use Ctrl+V function successfully (not just only for the english layout for example).
So I think that this is important bug that makes job uncomfortable (because you need to have the street magic with layouts).
Comment 3 awake 2011-08-29 22:25:28 UTC
I've installed LXDE and found that this two bugs with NetBeans (ctrl+z and alt+enter+enter combinations) not works to! So where the problem may be?
Comment 4 awake 2011-08-30 11:38:46 UTC
Okay I've discovered that at LXDE and NB 6 it not works to. As I see this is fedoras bug?
Comment 5 Jan Lahoda 2011-08-30 13:22:04 UTC
I have resolved the Alt-Enter-Enter problem as bug #200144 (based on information from this bug, as the original did not mention any keyboard layouts at all). I tested a live Fedora CD, and did not experience any problems with Ctrl-Z on US/Russian keyboard. I also tested US/Russian/Czech layouts on (K)Ubuntu and they also seem to be fine, except that the Czech layout remaps the "z" key to a different key on the keyboard.

Could you please download:
http://netbeans.org/projects/editor/downloads/download/KeyEventDebug.jar

run it as:
java -jar KeyEventDebug.jar

press Ctrl-Z (and whatever keyboard shortcuts do not work) and look at the output if some problem is visible from it, and attach it here otherwise?

Thanks.
Comment 6 awake 2011-08-30 13:52:26 UTC
Sure!
The bug you've posted seems pretty like mine. Is it solved?
Also I've attacked ru_layout.txt and en_layout.txt files with log of ru and en layouts from your debug application.
Comment 7 awake 2011-08-30 13:53:01 UTC
Created attachment 110279 [details]
Russian layout debug
Comment 8 awake 2011-08-30 13:53:23 UTC
Created attachment 110280 [details]
English layout debug
Comment 9 Jan Lahoda 2011-09-02 11:54:47 UTC
The Alt-Enter problem is currently fixed in NetBeans dev builds (will become NB7.1). I have marked it as a candidate for a future patch release (it was too late for patch 1).

As for the Ctrl-Z problem, I do not see anything odd in the logs - Mila, do any idea why Ctrl-Z would not work on a non-default/Russian keyboard layout?

As a workaround, could you please try to use JDK6 to run the IDE?

Thanks.
Comment 10 awake 2011-09-02 12:41:39 UTC
Thanks! I'll try about Ctrl+Z on JDK6 and write about results. Could you please tell me how to use dev builds of NetBeans?
Comment 11 Jan Becicka 2011-09-07 09:36:23 UTC
Maybe completely unrelated, but see issue 201397 for reproducible test case of disappearing shortcut from the menu.
Comment 12 Miloslav Metelka 2011-09-07 10:12:57 UTC
awake: please download dev build from http://bits.netbeans.org/download/trunk/nightly/latest/ (On download page click on "Development" next to 7.0.1). Then run it normally like regular NB releases.

Regarding menu in maximized window on Gnome 3 there's http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7057467

So I mark the issue as fixed. Please reopen if the Ctrl+Z still would not work. Thanks.
Comment 13 xaseros 2014-01-06 10:33:30 UTC
(In reply to Miloslav Metelka from comment #12)
> awake: please download dev build from
> http://bits.netbeans.org/download/trunk/nightly/latest/ (On download page
> click on "Development" next to 7.0.1). Then run it normally like regular NB
> releases.
> 
> Regarding menu in maximized window on Gnome 3 there's
> http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7057467
> 
> So I mark the issue as fixed. Please reopen if the Ctrl+Z still would not
> work. Thanks.

Hello.

I dowload and use netbeans-trunk-nightly-201401050002-php-linux.sh but any hotkeys (Ctrl+S, Ctrl+Z and other) still not work in russian layout.

i try to set this in netbeans settings manualy but i is not any reactions for keypres in russiam layout mode.

So i switch in russian layout i'm pressing the Ctrl and in text box i see "Ctrl+" i'm pressing any letter key and nothing.
Comment 14 xaseros 2014-01-06 10:35:41 UTC
(In reply to xaseros from comment #13)
> (In reply to Miloslav Metelka from comment #12)
> > awake: please download dev build from
> > http://bits.netbeans.org/download/trunk/nightly/latest/ (On download page
> > click on "Development" next to 7.0.1). Then run it normally like regular NB
> > releases.
> > 
> > Regarding menu in maximized window on Gnome 3 there's
> > http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7057467
> > 
> > So I mark the issue as fixed. Please reopen if the Ctrl+Z still would not
> > work. Thanks.
> 
> Hello.
> 
> I dowload and use netbeans-trunk-nightly-201401050002-php-linux.sh but any
> hotkeys (Ctrl+S, Ctrl+Z and other) still not work in russian layout.
> 
> i try to set this in netbeans settings manualy but i is not any reactions
> for keypres in russiam layout mode.
> 
> So i switch in russian layout i'm pressing the Ctrl and in text box i see
> "Ctrl+" i'm pressing any letter key and nothing.

i use ubuntu 13.10
Comment 15 dobs 2014-01-10 20:58:36 UTC
On FC 20 x64 have same problem
Comment 16 gregseth 2016-01-29 14:04:49 UTC
The same problem here on Debian 8.3 (jessie).

Product Version: NetBeans IDE 8.0.2 (Build 201411181905)
Java: 1.8.0_45; Java HotSpot(TM) 64-Bit Server VM 25.45-b02
Runtime: Java(TM) SE Runtime Environment 1.8.0_45-b14
System: Linux version 3.16.0-4-amd64 running on amd64; UTF-8; fr_FR (nb)
Comment 17 Ralph Ruijs 2016-01-29 15:06:14 UTC
(In reply to gregseth from comment #16)
> The same problem here on Debian 8.3 (jessie).
> 
> Product Version: NetBeans IDE 8.0.2 (Build 201411181905)
> Java: 1.8.0_45; Java HotSpot(TM) 64-Bit Server VM 25.45-b02
> Runtime: Java(TM) SE Runtime Environment 1.8.0_45-b14
> System: Linux version 3.16.0-4-amd64 running on amd64; UTF-8; fr_FR (nb)

This is issue is over 3 years old. Please create a new issue describing the problem you are facing. Thank you!