Project

General

Profile

Actions

Feature #11609

closed

Start with frequently-used radio models

Added by John Oliver 2 months ago. Updated 2 months ago.

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

100%

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

Description

When I "Download from radio", CHIRP remembers the last radio I connected to. If that isn't what I want, I have to plow through the menu of manufacturers and models. It would be really nice to get a short menu of radios I've connected to and a "Add new radio" button if I want to connect to a new one (and, of course, an option to remove a radio if it's old or I selected it by mistake).


Files

Actions #1

Updated by Bryant L 2 months ago

Perhaps an easier way to implement would be a favorites tab and people manually add their favorite radios to the group. Automation might make it more of a hassle imo.

Actions #2

Updated by Dan Smith 2 months ago

This is a reasonable ask, but I'm not sure yet how I want to implement it...

Actions #4

Updated by John Oliver 2 months ago

Looks good!  I'm happy to test...

On Monday, October 14, 2024 at 03:27:40 PM MST, Dan Smith redmine@chirpmyradio.com wrote:

Actions #5

Updated by Dan Smith 2 months ago

Chirp's module system only works for drivers, not UI code. But, since you're on linux you can probably check out and run this manually if you want:

https://github.com/kk7ds/chirp/tree/bugs-and-features

Actions #6

Updated by Dan Smith 2 months ago

In case you fetched this immediately, I just force-pushed to that branch with an updated dialog that can be larger than a postage stamp, FYI.

Actions #7

Updated by John Oliver 2 months ago

The INSTALL file lists some dependencies, but:
joliver@blinky:~$ sudo apt install python python-gtk2 python-libxml2 python-libxslt1 python-serial python-support
[sudo] password for joliver:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package python is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  2to3 python-is-python3

E: Package 'python' has no installation candidate
E: Unable to locate package python-gtk2
E: Unable to locate package python-libxml2
E: Unable to locate package python-libxslt1
E: Unable to locate package python-serial
E: Unable to locate package python-support
I guessed I should try python3, but:
joliver@blinky:~$ sudo apt install python3 python3-gtk2 python3-libxml2 python3-libxslt1 python3-serial python3-support
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package python3-gtk2
E: Unable to locate package python3-libxslt1
E: Unable to locate package python3-support

On Monday, October 14, 2024 at 03:53:32 PM MST, Dan Smith redmine@chirpmyradio.com wrote:

Actions #8

Updated by Dan Smith 2 months ago

Oh that stuff is like a decade out of date, sorry. See ChirpOnLinux.

Actions #9

Updated by Dan Smith 2 months ago

And to be clear, you can clone the branch and just pass . to the pipx install command instead of the wheel.

If that all sounds complicated, no worries, this'll be in a build soon enough.

Actions #10

Updated by John Oliver 2 months ago

It works:

FWIW, I was picturing something where that list is the primary screen that comes up, not an afterthought.  And it would be nice to have a way to delete one, if it was a mistake or for a radio someone didn't have any more.
But this is huge!  I bet a lot of people will be very happy!

On Monday, October 14, 2024 at 03:53:32 PM MST, Dan Smith redmine@chirpmyradio.com wrote:

Actions #11

Updated by Dan Smith 2 months ago

Yeah, well, it can evolve from here. That clone dialog has basically been unchanged for 15 years, so it'll take me some time to even be able to consider it being different. But let's see how this goes for a while.

Note that you can trim the recent models list from the config if you really want. Obviously not very user friendly, but more buttons/behaviors means more complexity and such.

Actions #12

Updated by Dan Smith 2 months ago

I just pushed changes to allow pruning the list and optionally starting with the recent list, if there are any. It definitely complicates the whole process a little bit, but I think it's reasonably workable. If you can poke around and try to break it a bit, I'd appreciate it.

Actions #13

Updated by Dan Smith 2 months ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF