Topic: How to use UI::Dropdown
Nordfriese Topic Opener |
Posted at: 2019-12-03, 12:08
In two of my development branches, I am having trouble with UI::Dropdown. In In In both cases, the backtrace points to
Apparently, the dropdown hooks into all toplevel windows to layout properly, and the lambda function doesn´t seem to notice that the dropdown was already deleted if only a tab and not the whole window closes. Is this a bug in dropdown code, or is there some easy way to work around this? Top Quote |
stonerl |
Posted at: 2019-12-07, 11:50
I do have a problem myself with the Dropdowns. Dropdowns don't release focus. So, every time a Dropdown is opened, focus stays on this Dropdown even when closed or the window that contained the dropdown is closed the focus isn't regained by the map. This is quite annoying because this breaks scrolling, and the only way to get it back is to open a window that requests focus itself. Top Quote |
GunChleoc |
Posted at: 2020-01-05, 16:31
Sounds like bugs to me. Can you please open issues for them? Busy indexing nil values Top Quote |
Nordfriese Topic Opener |
Posted at: 2020-01-08, 12:44
The one I reported is fixed already: https://github.com/widelands/widelands/pull/3601/files I´d appreciate it if you could take a quick look at the diff since this is mainly your domain Top Quote |