DSheirer / sdrtrunk

A cross-platform java application for decoding, monitoring, recording and streaming trunked mobile and related radio protocols using Software Defined Radios (SDR). Website:
GNU General Public License v3.0
1.57k stars 255 forks source link

Suggestion to save settings under View drop-down menu #1297

Closed Deziel0495 closed 1 year ago

Deziel0495 commented 2 years ago

Would it be possible to have the options under the "View" drop-down of "disable spectrum & waterfall" and "show streaming status" saved, so it will remember your preference when launching the program.

GTR8000 commented 2 years ago

Those two settings should already persist through restarts of the software. Has worked on mine going all the way back to early versions of 0.5.0 and continues to work right up to beta5.

Deziel0495 commented 2 years ago

Hmm. I'm using the latest, 0.5.0 Beta 5 and it's not persistent. Wasn't with Beta 4 either. Every time I restart the software I turn off the waterfall and turn on streaming status.

On Mon., Aug. 1, 2022, 10:48 p.m. GTR8000, @.***> wrote:

Those two settings should already persist through restarts of the software. Has worked on mine going all the way back to early versions of 0.5.0 and continues to work right up to beta5.

— Reply to this email directly, view it on GitHub https://github.com/DSheirer/sdrtrunk/issues/1297#issuecomment-1201921941, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHXOZ3JI5A3VMF4SMBHCUALVXB5ANANCNFSM55HPISKA . You are receiving this because you authored the thread.Message ID: @.***>

bnelson333 commented 2 years ago

Throwing my vote in on this for the waterfall persist. sdrtrunk used to remember that i turned the waterfall off. if i relaunched, it would stay off. somewhere between alpha and beta that setting no longer persists for me and it's a huge resource hog. I'm using this on xubuntu 18.04.

bnelson333 commented 2 years ago

I did some digging on mine and I think there might be a bug here. The file /home/user/SDRTrunk/SDRTrunk.properties has a line that says:

spectral.display.enabled=false

But when starting up sdrtrunk it still turns on the waterfall. Permissions seem ok, it seems to be able to read and write to that file. I even chmodded it to 777 just to check and no change. Is sdrtrunk not correctly reading that line out of the config file?

GTR8000 commented 2 years ago

I'm baffled as to why you are both having issues with these settings not persisting. I'm running SDRTrunk 0.5.0 beta5 on four Win 10 computers, and both the waterfall (off) and streaming status (on) states have persisted throughout many countless restarts of the program over the past year or so.

Perhaps this is a Linux vs Windows issue?

Here is the text of my SDRTrunk.properties file

SDRTrunk - SDR Trunking Decoder Application Settings

Sun Sep 11 19:45:15 EDT 2022

audio.channel.panel.color.background=-16777216 audio.channel.panel.color.label=-4144960 audio.channel.panel.color.muted=-65536 audio.channel.panel.color.value=-16711936 main.broadcast.status.visible=true root.directory=SDRTrunk settings.currentFilename=settings.xml settings.defaultFilename=settings.xml spectral.display.dft.size=FFT04096 spectral.display.enabled=false spectral.display.frame.rate=20

bnelson333 commented 2 years ago

I think it is, would there be different code bases for the different releases? It seems this works on windows and my buddy confirmed it works on the raspberry pi (the aarch release), but it seems to not work on the linux x86 build. I remember it working back on an alpha release and then I upgraded to a beta release and it stopped working. If i get time later tonight I'll see if I can figure out which version "broke it".

bnelson333 commented 2 years ago

I confirmed just now that it most definitely broke between betas 2 and 3. Version 0.5.0 Beta 2 functions as intended (waterfall setting persists between restarts), Version 0.5.0 Beta 3 broke that functionality. This is on the Linux x86_64 build.

DSheirer commented 1 year ago

Closing - recreating as subtask under issue #1348