Bug #11673
closed"Recent" button not working on Linux
100%
Description
The recently-added "Recent" button isn't showing any recent radios for me :-((Describe what you were doing)
(Describe what you expected to happen)
(Describe what actually happened instead)
(Has this ever worked before? New radio? Does it work with OEM software?)
Files
Updated by John Oliver about 1 month ago
- File config.txt config.txt added
- File BTECH_UV-25X2_G2_20241110.img BTECH_UV-25X2_G2_20241110.img added
- File linux_system_info.txt linux_system_info.txt added
- File debug_log.txt debug_log.txt added
[Uploaded from CHIRP next-20241108]
Updated by Dan Smith about 1 month ago
- Subject changed from "Recent" button not working to "Recent" button not working on Linux
- Priority changed from Normal to Low
This is a linux-specific failure due to GTK not allowing us to coerce the size of the recent dialog.
Updated by John Oliver about 1 month ago
Is it fixable? I remember seeing it work when you built the module a few weeks ago.
On Sunday, November 10, 2024 at 10:21:19 AM MST, Dan Smith redmine@chirpmyradio.com wrote:
Updated by Dan Smith about 1 month ago
Yes, it's fixable it's just very annoying that GTK is so particular.
This was not deliverable in a module because it's part of the UI. Are you saying you've had it work locally in a build since it was introduced but it's now failing? It has not changed since the first build it was delivered, so I'd be surprised if it worked before and now does not. The error indicates it's a failure that should always happen. Perhaps you tried it on something other than linux? Or a different distro with a different version of the wx libs?
Updated by John Oliver about 1 month ago
- File history.log.1.gz history.log.1.gz added
Looks like there were several updates at some point that involve wx. It was definitely this laptop, running Ubuntu 24! I've attached the apt history log in case it helps.
On Sunday, November 10, 2024 at 10:35:07 AM MST, Dan Smith redmine@chirpmyradio.com wrote:
Updated by Dan Smith about 1 month ago
- Status changed from New to In Progress
Updates to libs like that within a given distro rev are generally not going to change behavior like this.
Anyway, the reason it's failing for you now is because your recent list has grown large enough to need scrolling and a very annoying quirk of GTK (there are lots of them) is that the default min size is calculated on the fly before it knows what the dialog will actually look like. Thus the size constraint that works on all the other platforms fails on Linux/GTK because we set the max size before the min size.
Updated by John Oliver about 1 month ago
How large is my list? How do I see and edit it? I shouldn't have any more than four radios on it.
On Sunday, November 10, 2024 at 11:05:13 AM MST, Dan Smith redmine@chirpmyradio.com wrote:
Updated by Dan Smith about 1 month ago
It's in your config file and you have six. It's of course not a problem for you to have that many, and six wouldn't cause scrolling on any other platform. GTK has just really fat widgets which make the box squished.
Updated by Dan Smith about 1 month ago
- Status changed from In Progress to Closed
- % Done changed from 0 to 100
Applied in changeset github|71812ad1214fcd1555375aeddfc5ddaf2079918b.