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

TBCComboBox focus #231

Open
circular17 opened this issue Mar 12, 2025 · 1 comment
Open

TBCComboBox focus #231

circular17 opened this issue Mar 12, 2025 · 1 comment
Labels

Comments

@circular17
Copy link
Contributor

Issue #1:

I have two TBCComboBox controls on a form (Form2) that is being shown from Form1 with .show (non modal). If I touch any of the combos (e.g. showing the dropdown list), when I close Form2, it happens that Form1 gets minimized or hidden (the user must find Form1 manually). This happens only after some kind of interaction with the combos. If I don't use any of them and close Form2, then Form1 remains on focus. It does not happen if I use a standard TComboBox control instead. The issue happens on Windows but not on Linux (using QT6, don't know about GTK).

Issue #2:

Using the same scenario as issue #1 on Linux (QT6) when I click the combobox (dropdown list style), the dropdown list is shown behind the form containing the combo, so it can't be seen or clicked. This issue doesn't occur on Windows.

Platforms used:

-Windows 10
-Linux Debian (using QT6)
-FPP 3.2.2
-Lazarus 4.0RC2
-BGRA controls: 9.0.1.6
-BGRA bitmap: 11.6.2.0

Message by Mastropiero, copied from Lazarus forum

@circular17 circular17 added the bug label Mar 12, 2025
@circular17
Copy link
Contributor Author

There are indeed some problems regarding the combobox. It is not trivial to create a dropdown, it is kind of a window with special properties.

I am considering adding a mode the combobox that instead creates the dropdown inside the window where the combobox is. Of course, this works only if the dropdown is small enough to fit in the current window.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant