bugGNUstep - Bugs: bug #48217, Dropdown doesn't function properly...


bug #48217: Dropdown doesn't function properly on first click in NSWindow.

Submitter:  Gregory John Casamento <gcasa>
Submitted:  Mon 13 Jun 2016 10:16:10 PM UTC
Category:  Libraries Severity:  5 - Blocker
Item Group:  Bug Status:  None
Privacy:  Public Assigned to:  gcasa
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup

Mon 05 Sep 2016 03:45:41 PM UTC, comment #3: 

Here that "fix" works only partially:
The fix removes the annoying issue that after using a popupmenu "focus" is lost and I have to click on the window again, but it does not fix the issue that the menu item does not update.
It looks still more correct than before: why does testplant need it different?

Riccardo Mottola <rmottola>
Group Member
Wed 29 Jun 2016 07:35:40 PM UTC, comment #2: 

This works for me. But I changed - doesProcessEventsForPopUpMenu to return NO at WinNSMenu.m. This is the correct value, because the theme don't process these events. But for some reason the TestPlant guys needs to return YES.

Germán Arias <espectador>
Tue 14 Jun 2016 04:32:22 PM UTC, comment #1: 

NOe that this is only in the WinUX theme, not GUI with the standard theme. Maybe we need a special theme category?

I observe further details.
On every attempt to select an item in a dropdown (not just the first one), the window looses focus. The dropdown itself, but also other buttons, do not work. A textfield looses its cursor, until further clicked.
One can repeat again and again.

TO this it is added that first selecting menu item in a dropdown selects it (if the selecteditem is read from code) but not displayed. One needs to select again to update (and to select again one needs to click first to enable the dropdown).

It thus might be two different issues, although the effect is e.g. that to select something and have visual confirmationone has to select-reclick-reselect.

Riccardo Mottola <rmottola>
Group Member
Mon 13 Jun 2016 10:16:10 PM UTC, original submission:  

Dropdown doesn't function properly on first click in NSWindow.    You select from popup button, but you don't see it selected in the button itself.  Subsequent clicks do register the change, but the first does not.



Gregory John Casamento <gcasa>
Group administrator


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by FredKiefer (Updated the item)
  • -email is unavailable- added by espectador (Posted a comment)
  • -email is unavailable- added by rmottola (Posted a comment)
  • -email is unavailable- added by gcasa (Submitted the item)

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.


    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-01-07 FredKiefer CategoryGui/AppKit Libraries

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code