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 218682 - "autocompletion-decorated" JComboBox property editor bad behavior on WinXP, Linux, Mac
Summary: "autocompletion-decorated" JComboBox property editor bad behavior on WinXP, L...
Status: VERIFIED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Property Sheet (show other bugs)
Version: 7.3
Hardware: PC Mac OS X
: P1 normal (vote)
Assignee: Stanislav Aubrecht
URL:
Keywords:
: 218949 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-09-20 10:52 UTC by Marek Fukala
Modified: 2012-10-01 14:13 UTC (History)
4 users (show)

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 Marek Fukala 2012-09-20 10:52:42 UTC
If one chooses a value from the "autocompletable" JComboBox popup by clicking it by mouse, the editor generated by PropertySheet it behaves as expected only on Windows7 L&F.

On Windows7 it does automatically set the selected value to the corresponding Property.

On WindowsXP and Linux (Ubuntu) it just inserts the selected item text to the JCB input field and user needs to press enter to propagate the value to the property.

On Mac it does nothing.
Comment 1 Marek Fukala 2012-09-20 11:47:19 UTC
web-main#4481fabbe6ae *seems to* fix the decorated JCB flow. You may possibly use the same code. Anyway it would be nice to have one shared implementation for such decorated JCB so we do not have to solve problems twice.
Comment 2 Stanislav Aubrecht 2012-09-24 15:15:04 UTC
core-main 057b1f15c14a
Comment 3 Martin Fousek 2012-09-25 13:48:43 UTC
*** Bug 218949 has been marked as a duplicate of this bug. ***
Comment 4 Quality Engineering 2012-09-26 02:11:07 UTC
Integrated into 'main-golden', will be available in build *201209260001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/057b1f15c14a
User: S. Aubrecht <saubrecht@netbeans.org>
Log: #218682 - value isn't being set when choosing from the popup list using mouse
Comment 5 Vladimir Riha 2012-09-27 18:55:03 UTC
we agree with Marian about backporting to beta. Marku, Stando what do you think?

I tried the cases described by Marek in description:
- Windows - default L&F, after clicking on some value in cc list the value is inserted to editor (as Marek described )
- Linux - GTK & Metal - same as on Windows
- Mac - default L&F (Aqua?) - same as on Linux




Mac: 10.7.5 
JDK 1.6.0_35

Windows 7 32b, JDK7

Ubuntu 12.04 32b JDK7u7

Product Version: NetBeans IDE Dev (Build web-main-8695-on-20120927)
Comment 6 Marek Fukala 2012-09-28 08:26:31 UTC
branch:      release73_beta
summary:     #218682 - value isn't being set when choosing from the popup list using mouse
Comment 7 Marek Fukala 2012-09-28 08:26:57 UTC
changeset:   242149:840b47c093ef
Comment 8 Vladimir Riha 2012-09-28 09:50:38 UTC
Thanks Marku
Comment 9 Quality Engineering 2012-10-01 04:20:15 UTC
Integrated into 'releases', will be available in build *201210010205* or newer. Wait for official and publicly available build.
Changeset: http://hg.netbeans.org/releases/rev/840b47c093ef
User: S. Aubrecht <saubrecht@netbeans.org>
Log: #218682 - value isn't being set when choosing from the popup list using mouse
Comment 10 Vladimir Riha 2012-10-01 14:13:40 UTC
verified in Beta

Product Version: NetBeans IDE 7.3 Beta (Build 201210010205)