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


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

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

Add a New Comment (Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


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>
Project 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>
Project 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>
Project AdministratorIn charge of this item.


(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)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    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.7