Project

General

Profile

Actions

Bug #11673

closed

"Recent" button not working on Linux

Added by John Oliver 17 days ago. Updated 17 days ago.

Status:
Closed
Priority:
Low
Assignee:
-
Category:
-
Target version:
-
Start date:
11/10/2024
Due date:
% Done:

100%

Estimated time:
Chirp Version:
next
Model affected:
N/A
Platform:
Linux
Debug Log:
I read the instructions above:
Yes

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

config.txt (1.55 KB) config.txt John Oliver, 11/10/2024 09:12 AM
BTECH_UV-25X2_G2_20241110.img (16.2 KB) BTECH_UV-25X2_G2_20241110.img John Oliver, 11/10/2024 09:12 AM
linux_system_info.txt (806 Bytes) linux_system_info.txt John Oliver, 11/10/2024 09:12 AM
debug_log.txt (847 KB) debug_log.txt John Oliver, 11/10/2024 09:12 AM
history.log.1.gz (31.6 KB) history.log.1.gz John Oliver, 11/10/2024 09:43 AM
Actions #2

Updated by Dan Smith 17 days 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.

Actions #3

Updated by John Oliver 17 days 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:

Actions #4

Updated by Dan Smith 17 days 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?

Actions #5

Updated by John Oliver 17 days ago

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:

Actions #6

Updated by Dan Smith 17 days 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.

Actions #7

Updated by John Oliver 17 days 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:

Actions #8

Updated by Dan Smith 17 days 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.

Actions #9

Updated by Dan Smith 17 days ago

  • Status changed from In Progress to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF