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.
CTRL+P is already assigned for "Show Method Parameters" action. So when you use it, no Print dialog is invoked. It's questionable what shortcut to change, but I think that printing is not used as often as Show Method Parameters. And because Print and Print Preview actions were "merged" lately, I assume removing CTRL+P will work just fine as CTRL+SHIFT+ALT+P shortcut is still assigned to that action. Product Version: NetBeans IDE Dev (Build 200710301200) Java: 1.6.0_02; Java HotSpot(TM) Client VM 1.6.0_02-b05
I released Ctrl+P. Print action has Ctrl+Shift+Alt+P shortcut.
Verified in Build 200711020000
I filed issue #150133 to request that Ctrl+P be assigned to print because that is what users expect, but it was closed WONTFIX referencing this issue because the Ctrl+P binding had been used for something else. I checked several programs and all support the standard Ctrl+P keyboard shortcut: Eclipse IDE: Ctrl+P IntelliJ IDEA: Ctrl+P TextPad editor: Ctrl+P Mozilla Thunderbird: Ctrl+P Mozilla Firefox: Ctrl+P Internet Explorer: Ctrl+P Microsoft Word: Ctrl+P Microsoft Excel: Ctrl+P Microsoft PowerPoint: Ctrl+P Microsoft Outlook: Ctrl+P Microsoft Office Picture Manager: Ctrl+P OpenOffice Writer: Ctrl+P OpenOffice Calc: Ctrl+P OpenOffice Impress: Ctrl+P Windows Notepad: Ctrl+P Windows Wordpad: Ctrl+P Microsoft Paint: Ctrl+P The GIMP: Ctrl+P Inkscape: Ctrl+P Adobe Acrobat: Ctrl+P NetBeans is the only program I can think of in which the print shortcut is something different, especially something as unnatural as Ctrl+Shift+Alt+P. The "Show Method Parameters" action is far less common -- I've been using the IDE for years and never even knew it existed. IMHO it is the one which should be bound to Ctrl+Shift+Alt+P rather than "Print." So my question is, can this *please* be fixed for 7.0? If so, shall I reopen this issue, reopen #150133 or shall I file an entirely new issue.
I was asking NetBeans guru for help, we should wait for answer from responsible person for shortcuts. As for me, I'm voting for Ctr+P for Print.
IIRC, the history of CTRL-P is: It used to be Print (Alt-P) was Show Method Parameters. It was noticed that Print is almost never used in IDE usage statistics. There was also a problem that ALT-P inserts the character for PI on Macintosh, and for a long time Show Method Parameters worked but also inserted a Π character in the editor :-/ However, in non-IDE applications where printing is more common, it certainly does make sense for CTRL-P to be bound to Print. Perhaps a shortcut could be defined by default, and then deleted by the IDE branding?