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 216310 - Need a keyboard shortcut for Selection mode switch in the Chrome plugin
Summary: Need a keyboard shortcut for Selection mode switch in the Chrome plugin
Status: RESOLVED FIXED
Alias: None
Product: ide
Classification: Unclassified
Component: Extbrowser (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Jan Stola
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-02 09:38 UTC by Petr Jiricka
Modified: 2012-09-04 13:04 UTC (History)
2 users (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 Petr Jiricka 2012-08-02 09:38:25 UTC
There should be a keyboard shortcut (e.g. Ctrl+Shift+S, if available) for toggling the Selection Mode switch on and off. 

This is because sometimes I'd like to turn on selection mode while hovering over an element that changes the page on hover.

This is analogous to issue 215621 for the embedded browser.
Comment 1 Petr Jiricka 2012-08-02 21:24:03 UTC
Cc'ing David - he says that he came across a library that helps with this. David, can you please provide a pointer?
Comment 2 David Konecny 2012-08-02 21:44:30 UTC
http://craig.is/killing/mice
http://robertwhurst.github.com/KeyboardJS/
etc.

These are both JS libraries and in order to use them we would have to inject them into the page. But perhaps there is a simpler way if we just one to handle a single shortcut.

If we go ahead with shortcuts I would consider adding also one which activates Selection Mode as long as shortcut is hold, eg. CTRL+SHIFT.
Comment 3 Tomas Mysik 2012-08-27 14:01:41 UTC
Honza is working on the Selection Mode, he will fix it. Thanks.
I have found Google group [1] for Chrome extension shortcuts - unfortunately, no API for it (the page contains also a code sample).

Thanks.
[1] https://groups.google.com/forum/?fromgroups=#!topic/chromium-extensions/yPGeRn9y7Dc
Comment 4 Jan Stola 2012-09-04 13:04:08 UTC
Fixed - shortcut Ctrl+Shift+S has been added.

Modified files: http://hg.netbeans.org/web-main/rev/c29e1fa27fb9