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 110980 - "toggle line breakpoint" in editor context menu doesn't show keyshortcut
Summary: "toggle line breakpoint" in editor context menu doesn't show keyshortcut
Status: CLOSED DUPLICATE of bug 106872
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: David Simonek
URL:
Keywords: JDK_SPECIFIC, RANDOM
Depends on:
Blocks:
 
Reported: 2007-07-25 16:58 UTC by jamespb
Modified: 2011-06-09 09:56 UTC (History)
5 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
toggle breakpoint missing (339.41 KB, image/gif)
2007-07-25 20:58 UTC, jamespb
Details
build-without-ruby.png (59.50 KB, image/png)
2007-07-31 15:19 UTC, Martin Krauskopf
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jamespb 2007-07-25 16:58:32 UTC
Toggle line breakpoint should show control-F8 as the shortcut.  It doesn't show a shortcut at all (cntrl-F8 works).

Product Version: NetBeans Ruby IDE 070725 Java: 1.6.0_01; Java HotSpot(TM) Client VM 1.6.0_01-b06 System: Windows Vista
version 6.0 running on x86; Cp1252; en_US (nbrubyide) Userdir: C:\Users\James\AppData\Roaming\.nbrubyide\dev
Comment 1 jamespb 2007-07-25 16:59:27 UTC
Run menu has same problem.
Comment 2 Martin Krauskopf 2007-07-25 20:28:48 UTC
I tried latest hudson build and I can see them in both context and Run menu. Do you see other shortcuts correctly like
"New Watch..."? The only reason is that I'm running Linux. I'll have access to Windows machine in work tomorrow, so I'll
try also there. 
Comment 3 jamespb 2007-07-25 20:57:32 UTC
I do see other shortcuts - here's a screenshot
Comment 4 jamespb 2007-07-25 20:58:41 UTC
Created attachment 45715 [details]
toggle breakpoint missing
Comment 5 jamespb 2007-07-30 16:53:29 UTC
Still a problem in bld 3156, fyi
Comment 6 Martin Krauskopf 2007-07-30 18:16:41 UTC
Yup, I know. It is not ignored and will be fixed for 6.0. I'm currently working on threading problems in all three
debugger layers which I've left for after-feature-freeze phase. I really want to get rid of them ASAP. But not that easy
(for me) so far. But should eliminate those "happens to me one-in-ten-runs" kind of problems.
Comment 7 Martin Krauskopf 2007-07-31 15:18:46 UTC
Seems to be general problem in the infrastructure. I'm having my own NetBeans build without Ruby and having the same
problem. Probably kind of random race condition, since I'm almost sure that I've seen the shortcut there week or so ago.
Attaching screenshot.
Comment 8 Martin Krauskopf 2007-07-31 15:19:52 UTC
Created attachment 45946 [details]
build-without-ruby.png
Comment 9 Martin Entlicher 2007-07-31 16:20:46 UTC
I've seen this already, sometimes the shortcut is there and sometimes not. This problem was in Run menu also. Currently,
the shortcut is displayed correctly for me. Any steps how to reproduce this are welcomed.
Comment 10 jamespb 2007-07-31 16:50:16 UTC
Run the ruby ide build on Windows - I get failure 100% of the time.
Comment 11 jamespb 2007-08-03 18:14:25 UTC
Product Version: NetBeans Ruby IDE 070803 Java: 1.6.0_01; Java HotSpot(TM) Client VM 1.6.0_01-b06 System: Windows Vista
version 6.0 running on x86; Cp1252; en_US (nbrubyide) Userdir: C:\Users\James\AppData\Roaming\.nbrubyide\dev
Comment 12 jamespb 2007-08-03 18:16:46 UTC
Sorry - that last comment containing nothing but version information was meant for another bug.  Ignore.
Comment 13 Martin Entlicher 2007-08-21 16:22:16 UTC
This seems to be a general problem in the whole IDE.
Moving to core/windows for evaluation.
This does not concern only debugger, but also e.g. Build/Build Main Project does not have any shortcut and some items in
Windows menu. All shortcuts are present in Options, this this does not seem to be a fault of the affected modules. Seems
to be a bug in the infrastructure.
Comment 14 David Simonek 2007-08-21 17:44:31 UTC
This has probably nothing to do with window system and or/core, it is probable that it is JDK bug. Please evaluate more
and possibly fill the bug for JDK, thanks. I can't handle all JDK bugs, thanks for understanding.
Comment 15 Martin Entlicher 2007-08-21 20:19:58 UTC
??? I do not have any indication of whether this might be a JDK bug or not.
Does anyone know if this is a new regression in NetBeans 6.0 or if this was there always? No issues from QE?

Why should I evaluate anything more here, when it's clear that this does not concern debugger specifically? I have all
shorcuts defined declaratively in mf-layer. I'm not familiar at all with all infrastructure that sets shortcuts from
module layers and profiles. I do not know at all where to look at. So someone more knowledgeable, who implemented or
maintains that part of IDE should take this.

If this infrastructure is not in core/windows then reassign accordingly.

Moving to IDE component so that it gets reassigned accordingly.
Comment 16 Peter Pis 2007-08-24 20:32:15 UTC
"ide" is not right place for such a bug. Issue filed against "ide" component are processed and reassigned for the
"proper" component. Sorry, but for now reassigning back to "core".
Comment 17 jamespb 2007-08-26 19:10:59 UTC
This release:

Product Version: NetBeans Ruby IDE 070826 Java: 1.6.0_01; Java HotSpot(TM) Client VM 1.6.0_01-b06 System: Windows Vista
version 6.0 running on x86; Cp1252; en_US (nbrubyide) Userdir: C:\Users\James\AppData\Roaming\.nbrubyide\dev

Shows many shortcuts that were previously missing, but toggle line breakpoint is still missing.
Comment 18 David Simonek 2007-08-26 22:33:28 UTC
Hey, why core again? Do you know what piece of core triggers this error? Which piece of core code? Show me the source
and line number!!! I know I sound harsh, but handling of menu shortcuts is done in Swing as all of you should know. Core
is not dumping ground as Trung used to say. I have to return the issue back, as I don't know where the error may be, but
I certainly know it's not in winsys. (I may be wrong of course) It seems that our system is lacking one evaluation step,
when issue is general but don't belong to any category. Core can't do such evaluation IMHO, too overloaded anyway for
some time...
Comment 19 David Simonek 2007-08-27 14:02:34 UTC
OK, I calmed down a bit now, and after offline discussion with ppis I took the issue to openide/AWT/Swing, as it's
something between Swing and Netbeans and probably will affect also apps developed on top of Netbeans Platform.

Still, what irritates me is that core is automatic storage for such issues and is abused by other teams. I almost can't
do my regular work. CCing my manager and hoping that something can be done in this area, perhaps special category called
"jdk" with some cleaner ownership policy.

Of course without reproduction steps with at least 50% of success I have the very same chance of fixing this as for
example mentlicher has...
Comment 20 Martin Krauskopf 2007-08-27 14:09:08 UTC
INCOMPLETE - means that users does not provide you information or did not answer the questions you asked him/her for.
Not the case here.
I understand you otherwise ;)
Comment 21 jamespb 2007-08-27 15:58:22 UTC
It repros for me 100% of the time - do you see the keyboard shortcut when you're running on Windows?
Comment 22 David Simonek 2007-08-28 15:26:59 UTC
I can't reproduce on Linux, GTK L&F. But it seems to be reproducible under Metal L&F on Linux, and on Windows sometimes
as well on our machines.

Actually this is duplicate of 106872 entered earlier, Standa will take a look at it, thanks Stando.

*** This issue has been marked as a duplicate of 106872 ***
Comment 23 Marian Mirilovic 2011-06-09 09:56:28 UTC
v/c