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 255874 - Hint menu with hints and add-project/private menu too long goes below bottom of screen
Summary: Hint menu with hints and add-project/private menu too long goes below bottom ...
Status: NEW
Alias: None
Product: editor
Classification: Unclassified
Component: Spellchecker (show other bugs)
Version: 8.0.2
Hardware: PC Windows 10 x64
: P3 normal (vote)
Assignee: Milutin Kristofic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-12 12:29 UTC by dbrad
Modified: 2016-02-19 19:19 UTC (History)
0 users

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 dbrad 2015-10-12 12:29:55 UTC
When using spellchecker to correct or add-to-dictionary using alt-enter the menu pops up on the editor window/IDE. For the most part words for words in a dictionary and the hints and add menu items are seen. But in other cases the menu is too long and extends beyond the bottom of the screen. 

If you have an abbreviation (say AUT), there are a lot of hints as the comparison is wild-carded. Thus menu items is long (with the adds at the bottom).

However the bottom border of the menu is off the screen and any scrolling or arrow clicks will not bring the scrolled menu into view. Thus you have to guess at the add items.

It would appear that the spellchecker hint menu is not sized to be contained within the editor or IDE views. That is, the menu is sized vertically based on a calculation not associated with the IDE view size but the screen size. The menu's top or bottom border is positioned from the word being checked

Steps
Use a laptop or appropriate sized screen height

1. On an edited HTML file in the IDE enter 'cen' which should be underlined.
2. make the size of the IDE about half the screens height.
3. Place the IDE view at top, middle and bottom of the screen for the following steps.
3a. Alt-enter and note the display of the menu, should have all menu items but there are likely items not displayed.
3b. Note the menu display and what is not shown and how it is positioned (IDE at top, middle and bottom)
3c. Use the scroll arrow, note if the menu shows no bottom border scrolling will not result in the lower menu items being displayed.
Comment 1 Milutin Kristofic 2015-10-12 13:02:55 UTC
I will look at this, but this is not P2. There is no regression, since there was no change there last release.
Comment 2 dbrad 2016-02-19 19:19:16 UTC
(In reply to Milutin Kristofic from comment #1)
> I will look at this, but this is not P2. There is no regression, since there
> was no change there last release.

The P2 setting was based on the NB wiki priority chart: http://wiki.netbeans.org/BugPriorityGuidelines

P2 -- Product feature doesn't work, a workaround may exist but it's difficult to use or impractical 

usability --
Prevents users from completing work without significant or inefficient legwork
Improperly or inconsistently named or ordered item defined in Permanent UI specs
Window does not resize dynamically to show all of it - not need to resize window (doesn't apply when using --fontsize) 

I would guess the feature area never worked correctly, thus how it could ever be a regression.

Your response is poor. If you do not intend to fix, state so and pull the feature out of NB so as to save resources.