Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dropdown doesn't function properly on first click in NSWindow #285

Open
gcasa opened this issue Aug 28, 2024 · 0 comments
Open

Dropdown doesn't function properly on first click in NSWindow #285

gcasa opened this issue Aug 28, 2024 · 0 comments

Comments

@gcasa
Copy link
Member

gcasa commented Aug 28, 2024

Below is the log from savannah:

Mon 05 Sep 2016 11:45:41 AM EDT, comment #3: QuoteHere 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>

Wed 29 Jun 2016 03:35:40 PM EDT, comment #2: QuoteThis 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>(Flag as spam)

Tue 14 Jun 2016 12:32:22 PM EDT, comment #1: QuoteNOe 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>

Mon 13 Jun 2016 06:16:10 PM EDT, original submission:  QuoteDropdown 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 DETAILSGC

[Mon 05 Sep 2016 11:45:41 AM EDT, comment #3:](https://savannah.gnu.org/bugs/?48217#comment3) Quote
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>](https://savannah.gnu.org/users/rmottola)
Group Member

[Wed 29 Jun 2016 03:35:40 PM EDT, comment #2:](https://savannah.gnu.org/bugs/?48217#comment2) Quote
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>](https://savannah.gnu.org/users/espectador)

([Flag as spam](https://savannah.gnu.org/bugs/index.php?func=flagspam&item_id=48217&comment_internal_id=287279#comment1))

[Tue 14 Jun 2016 12:32:22 PM EDT, comment #1:](https://savannah.gnu.org/bugs/?48217#comment1) Quote
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>](https://savannah.gnu.org/users/rmottola)
Group Member
[Mon 13 Jun 2016 06:16:10 PM EDT, original submission: ](https://savannah.gnu.org/bugs/?48217#comment0) Quote
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant