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 201528 - Misplaced spelling variants list
Summary: Misplaced spelling variants list
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Spellchecker (show other bugs)
Version: 7.0.1
Hardware: PC Linux
: P3 normal (vote)
Assignee: Jan Lahoda
URL:
Keywords:
: 203750 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-09-01 20:53 UTC by crimcat
Modified: 2011-10-25 14:36 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Spelling variants popup list (26.13 KB, image/png)
2011-09-01 20:53 UTC, crimcat
Details

Note You need to log in before you can comment on or make changes to this bug.
Description crimcat 2011-09-01 20:53:31 UTC
Created attachment 110325 [details]
Spelling variants popup list

Hello,

I found the following issue in comments spellchecker (in C++ editor).
Take a look at the attached screenshot. Notice here that the upper bound of the screenshot is exactly the display upper bound.
When I pressed Alt-Enter at the highlighted word (in my example it's 'aka'), I saw that the list beginning was started outside the display boundaries. Pressing arrows up and down and selecting spelling variants showed me valid different words, but I was unable to see the entire list.
If it matters: I'm using Debian Linux on a netbook (Lenovo S10, 1024x600 screen resolution), xfce, openjdk 1.6.0_18 from the Debian Squeeze:
$ java -version
java version "1.6.0_18"
OpenJDK Runtime Environment (IcedTea6 1.8.7) (6b18-1.8.7-2~squeeze1)
OpenJDK Client VM (build 14.0-b16, mixed mode, sharing)
Not sure wether it is a netbeans editor core issue or it is a C++ editor specific.
Comment 1 MackSix 2011-10-18 06:14:38 UTC
If I type awt, it puts the list off the top of the screen in Vista just like your screenshot.

Product Version: NetBeans IDE Dev (Build 201110160600)
Java: 1.7.0; Java HotSpot(TM) Client VM 21.0-b17
System: Windows Vista version 6.0 running on x86; Cp1252; en_US (nb)
Comment 2 Jan Lahoda 2011-10-24 14:54:24 UTC
*** Bug 203750 has been marked as a duplicate of this bug. ***
Comment 3 Jan Lahoda 2011-10-24 14:59:40 UTC
I have improved the computation of the hint pop-up location and size:http://hg.netbeans.org/jet-main/rev/dc024eb901ba
Comment 4 Quality Engineering 2011-10-25 14:36:26 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/dc024eb901ba
User: Jan Lahoda <jlahoda@netbeans.org>
Log: #201528: placing the hint pop-up above the current row only if it will give the pop-up more space, making sure the pop-up always fits to screen.