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 205796

Summary: context menu refactor submenu got rows out of screen
Product: platform Reporter: amr.lotfy
Component: JDK ProblemsAssignee: Antonin Nebuzelsky <anebuzelsky>
Status: RESOLVED WONTFIX    
Severity: normal CC: jkovalsky, mjr_1974, mkhramov, mmirilovic, musilt2, pjiricka, sj-nb, Wuron
Priority: P2 Keywords: JDK_SPECIFIC
Version: 7.0.1   
Hardware: All   
OS: Windows 7   
Issue Type: DEFECT Exception Reporter:
Attachments: <no description>
simple swing app to reproduce the issue with

Description amr.lotfy 2011-12-01 17:24:40 UTC
Product Version = NetBeans IDE 7.0.1 (Build 201107282000)
Operating System = Windows 7 version 6.1 running on x86
Java; VM; Vendor = 1.7.0_01
Runtime = Java HotSpot(TM) Client VM 21.1-b02

context menu refactor submenu got 3 rows out of screen (monitor syncMaster SA300 resolution 1366x768)
Comment 1 amr.lotfy 2011-12-01 17:31:00 UTC
Created attachment 113720 [details]
<no description>
Comment 2 Sergey Petrov 2012-03-01 09:36:20 UTC
have the same issue with 7.1/7.2 can't get to "rename" without tricks.
Comment 3 Sergey Petrov 2012-03-01 09:38:01 UTC
my resolution is 1600-900
Comment 4 Sergey Petrov 2012-03-06 09:29:48 UTC
this problem bloc refactoring features development for me also, as I want to add some more jpa related items but in my opinion it shouldn't be done before this issue fix or general refactoring menu redesign to support extendability better.
Comment 5 Petr Jiricka 2012-03-06 09:52:25 UTC
Is there a workaround?
Comment 6 Sergey Petrov 2012-03-06 10:23:00 UTC
for me it works to scroll context in a way to invoke context menu in upper area of the screen it cause rfactor submenu to open down (below first level item) and refatoring items can be accessed.
Comment 7 Stanislav Aubrecht 2012-03-14 14:13:14 UTC
*** Bug 209572 has been marked as a duplicate of this bug. ***
Comment 8 Stanislav Aubrecht 2012-03-14 15:00:38 UTC
Created attachment 116733 [details]
simple swing app to reproduce the issue with

this is a bug in JDK 1.7 (works fine in jdk 1.6)

steps to reproduce:
- run the attached JFrame
- position the window close to the bottom of the screen
- click into the window to open popup menu
- expand its "submenu"

result: the first few items of the sub-menu are not visible (depending on screen height). when running with multiple displays, the whole submenu may appear on secondary screen

expected: the submenu starts at the top of the screen and all its menu items are showing.
Comment 9 Stanislav Aubrecht 2012-03-30 15:20:23 UTC
*** Bug 207705 has been marked as a duplicate of this bug. ***
Comment 10 Stanislav Aubrecht 2012-04-10 08:20:27 UTC
*** Bug 210889 has been marked as a duplicate of this bug. ***
Comment 11 Antonin Nebuzelsky 2012-05-04 12:38:23 UTC
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7166459
Comment 12 Stanislav Aubrecht 2012-05-29 08:35:39 UTC
*** Bug 211160 has been marked as a duplicate of this bug. ***
Comment 13 Stanislav Aubrecht 2012-07-27 19:07:28 UTC
*** Bug 215876 has been marked as a duplicate of this bug. ***