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 262208 - Dropdown menu (as in JComboBox) repaint-on-selection is erroneous; wrong index
Summary: Dropdown menu (as in JComboBox) repaint-on-selection is erroneous; wrong index
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Options (show other bugs)
Version: 8.2
Hardware: PC Linux
: P3 normal (vote)
Assignee: Milutin Kristofic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-24 14:38 UTC by sviatopolk
Modified: 2016-09-06 14:31 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screenshot of a possible appearance of the symptom (10.83 KB, image/png)
2016-05-24 14:38 UTC, sviatopolk
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sviatopolk 2016-05-24 14:38:35 UTC
Created attachment 159861 [details]
Screenshot of a possible appearance of the symptom

When somebody hovers through a menu item, sometimes it seems that accidentally an adjacent item gets repainted / redrawn (or the same item at a neighboring offset), as in multiple items with the same text and multiple selected items can appear.
The indices seem always off by one, never more.
It is also sporadical, sometimes (not even that rarely) it works properly (especially when moving slower with the mouse).
All the combo boxes behave like this.

System details below. Please also see the attached partial screenshot.
--
Product Version: NetBeans IDE Dev (Build 201605230002)
Java: 1.8.0_91; OpenJDK 64-Bit Server VM 25.91-b14
Runtime: OpenJDK Runtime Environment 1.8.0_91-8u91-b14-2-b14
System: Linux version 4.5.0-1-amd64 running on amd64; UTF-8; en_US (nb)
User directory: /home/user/.netbeans/dev
Cache directory: /home/user/.cache/netbeans/dev
Comment 1 sviatopolk 2016-09-06 14:31:37 UTC
Given that this is not present in trunk 201609050002 anymore, I consider this fixed, and close it.