Closed Tyrbiter closed 6 months ago
For me, scrollbars seem to appear when I actually click inside the list. For example, with GNOME on Linux (red circle):
Windows and macOS for comparison:
Unfortunately, I'm not sure there's a way to influence this behavior on FreeDV's side.
I see what you mean, although I am particularly referring to a vertical scroll bar in my case, it's when the list fills to the point where the callsigns go off the bottom of the screen and I cannot scroll the list to see them and moving the window up doesn't show the bottom of the callsign list. Might be DE related, but I don't see why it would be, probably a feature of wxWidgets.
Looks like when there are enough entries, there's also a vertical scroll bar that appears when I hover my mouse over the box:
I can scroll through the list using two-finger scrolling on my laptop's trackpad (or hover my mouse over the vertical line--which makes it thicker--and drag it up and down). Ubuntu 22.04 with GNOME as before.
Unfortunately I don't think this is anything FreeDV itself can influence, especially since it does seem to be working as intended in other Linux environments and other OSes.
It's quite strange, what I see is shown below:
I have to make the freedv window full screen in order to get the list to open upwards, otherwise it extends off the bottom of the screen and goes under the panel (the blurred area).
I quite understand the problem with coding this, I can't find any window manager settings that change this behaviour. Maybe something to think about for future versions.
I tried some other tweaks but it doesn't look like wxWidgets wants to allow the popup to open upward. In the meantime, I provided a maximum size for the dropdown in https://github.com/drowe67/freedv-gui/pull/692. The exact maximum size is TBD but it might at least make your situation less likely to happen.
OK, I have it running with this change and will comment once I have some further testing completed.
So far I find this an excellent improvement, as now I get a vertical scroll bar when the list overflows the window size. It's almost as if a default size is missing in wxWidgets on some platforms.
OK, I have it running with this change and will comment once I have some further testing completed.
So far I find this an excellent improvement, as now I get a vertical scroll bar when the list overflows the window size. It's almost as if a default size is missing in wxWidgets on some platforms.
Cool, thanks! I'll go ahead and merge.
The callsign list is odd on my DE, it disappears off the bottom of the screen and I can't find a way of stopping this behaviour.
If there were a scroll bar then the list sub-window size could be more sensible and it would be possible to scroll down to earlier entries instead of being unable to see them at all.