Discussion:
[bug #48217] Dropdown doesn't function properly on first click in NSWindow.
Gregory John Casamento
2016-06-13 22:16:13 UTC
Permalink
URL:
<http://savannah.gnu.org/bugs/?48217>

Summary: Dropdown doesn't function properly on first click in
NSWindow.
Project: GNUstep
Submitted by: gcasa
Submitted on: Mon 13 Jun 2016 06:16:10 PM EDT
Category: Gui/AppKit
Severity: 5 - Blocker
Item Group: Bug
Status: None
Privacy: Public
Assigned to: gcasa
Open/Closed: Open
Discussion Lock: Any

_______________________________________________________

Details:

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.

Riccardo: PLEASE ADD DETAILS

GC




_______________________________________________________

Reply to this item at:

<http://savannah.gnu.org/bugs/?48217>

_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
Riccardo Mottola
2016-06-14 16:32:22 UTC
Permalink
Follow-up Comment #1, bug #48217 (project gnustep):

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.


_______________________________________________________

Reply to this item at:

<http://savannah.gnu.org/bugs/?48217>

_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
Germán Arias
2016-06-29 19:35:41 UTC
Permalink
Follow-up Comment #2, bug #48217 (project gnustep):

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.

_______________________________________________________

Reply to this item at:

<http://savannah.gnu.org/bugs/?48217>

_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
Riccardo Mottola
2016-09-05 15:45:42 UTC
Permalink
Follow-up Comment #3, bug #48217 (project gnustep):

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?

_______________________________________________________

Reply to this item at:

<http://savannah.gnu.org/bugs/?48217>

_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
Fred Kiefer
2018-01-07 13:51:53 UTC
Permalink
Update of bug #48217 (project gnustep):

Category: Gui/AppKit => Libraries


_______________________________________________________

Reply to this item at:

<http://savannah.gnu.org/bugs/?48217>

_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/

Loading...