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 268968 - Next tab / previous tab shortcuts not working
Summary: Next tab / previous tab shortcuts not working
Status: NEW
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 8.2
Hardware: PC All
: P2 normal with 1 vote (vote)
Assignee: Stanislav Aubrecht
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-14 10:08 UTC by Ravaelles
Modified: 2017-10-09 23:58 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 Ravaelles 2016-11-14 10:08:52 UTC
When I upgraded to NetBeans 8.2 on two separate Windows 7 computers I've lost possibility to use `Ctrl + PageUp` and `Ctrl + PageDown`, which switch tabs.

I had to reassign the shortcuts to other, far worse combinations (like numeric 7 and 8). It's just these shortcuts don't work any longer in NB 8.2, however they're listed in the settings and nothing seems to have changed.

Note: the same shortcut works in Notepad++, so it's not an OS issue.
Comment 1 parzno 2016-11-18 06:51:55 UTC
I have same problem on Linux/Debian/KDE
Comment 2 ArmEagle 2016-12-30 15:21:12 UTC
Same for me on Ubuntu 16.04. This is stopping me from switching from 8.1 to 8.2.
Comment 3 lytles 2017-04-10 05:14:55 UTC
this is also affecting linux/ubuntu/unity so i've switched hardware to all

if you open a file that is wider than the display, then ctrl+pgdn (and pgup) cause the editor to scroll horizontally. using a different key combo for "next tab" (and prev) works for me but this is a really crummy workaround as ctrl+pgdn is a pretty universal shortcut for next tab, eg firefox, chrome, gnome-terminal

horizontal scrolling is somewhat rare

i haven't checked what the new default is (it may well be ctrl+pgdn) but at the least this is broken for anyone that's using this very common pattern


platforms with reports: win7, ubuntu 16.04, debian/kde
Comment 4 lytles 2017-04-10 21:03:55 UTC
i was using the nimbus look-and-feel. using Metal or the default, tab switching works as expected for me

workaround: add "--laf Metal" to the command line options to start netbeans (or omit laf entirely)

can anyone else that's reported this problem test with and without laf ?
Comment 5 ArmEagle 2017-04-13 19:09:56 UTC
I was using the Darcula theme. With your hint I tried all themes that were installed.

For Metal, GTK+ and CDE/Motif the hotkeys worked just fine.
For Darcula and Nimbus they hotkeys didn't work.

They do work just fine with Darcula on Netbeans 8.1 though. It seems strange to me that something as simple as hotkeys changed function in such a minor release.
Comment 6 ArmEagle 2017-04-13 19:11:37 UTC
I forgot to confirm what you said that does happen when using ctrl-pageup/-down.

With those two themes they hotkeys indeed scroll the window horizontally (if there's something to scroll of course).
Comment 7 jshster 2017-10-09 23:58:30 UTC
This problem is far more widespread than just CTRL page up and down. I have a plugin called simpleHTML that generates HTML based on keyboard shorcuts (CTRL-L & L for instance creates a LI tag).

While all shortcuts are listed in the shortcut list none of them work.  I have tried disabling METAL theme as someone else suggested and it makes no difference.

Standard shortcuts like CTRL-c and CTRL-v DO work.