fxsound2 / fxsound-app

FxSound application and DSP source code
GNU General Public License v3.0
1.43k stars 121 forks source link

Start in tray #149

Open HottuDoku opened 1 month ago

HottuDoku commented 1 month ago

Is your feature request related to a problem? Please describe. Would be awesome, if we had an option to start minimalized -> Start in Tray. Its frustrating to always push it back to tray after startup

Describe the solution you'd like Start in tray option

Describe alternatives you've considered Start minimalized, but that would still leave the app in the taskbar, which is also a problem

raddyst commented 1 month ago

You forgot describe system information:

ps. FxSound should be remembering the last state the app was in on startup.

HottuDoku commented 1 month ago

Hey, sorry, since it was just a feature request I did not think these would be necessary.

Win11 build 22631.3958 Fx 1.1.22.0

Every time i boot up into windows the app opens up, now it remembers the whether the app is in compact mode, but it is always in the taskbar on startup. I would love to keep it in the system tray on boot and forever, if I need it i can just open it up manually.

bvijay74 commented 1 month ago

FxSound window open/minimized state is saved in settings and when FxSound is launched again it will start with the window open or minimized. The settings file is located at %APPDATA%\FxSound\FxSound.settings. After minimizing FxSound with the X button, please check if the settings file has the value <VALUE name="run_minimized" val="1"/>. Exit FxSound/logout/reboot and see if FxSound starts minimized in the system tray.

HottuDoku commented 1 month ago

Alright, did exactly as you said and the value after both restart or logout changes back to 0. I've tried setting it manually to 1 then rebooting and it changed back to 0 anyway and stays in the task bar.

After that I tried reinstalling with the same parameters and without a fault it changes back to 0.

bvijay74 commented 1 month ago

It is very unlikely for only the "run_minimized" setting to not get saved. Are all the other settings like hotkeys, preset and output device selection getting saved correctly?

HottuDoku commented 1 month ago

I've been experimenting, but so far only thing that changes is the run_minimized property. I did se the file to read only mode but next time it ran the read only mode was off and run_minimized was once again set to 0...

This is my actual config after closing the FxSound with the X to violenetly gently push it to the tray.

<?xml version="1.0" encoding="UTF-8"?>

<PROPERTIES>
  <VALUE name="language" val="en"/>
  <VALUE name="output_device_id" val="{0.0.0.00000000}.{1878f332-9cd2-45d7-8fd0-14fe8a7d48e1}"/>
  <VALUE name="output_device_name" val="Headphones (2- LE_WH-1000XM3)"/>
  <VALUE name="preset" val="main"/>
  <VALUE name="version" val="1.1.22.0"/>
  <VALUE name="run_minimized" val="1"/>
  <VALUE name="view" val="1"/>
  <VALUE name="survey_timer" val="1688887395"/>
  <VALUE name="menu_clicked" val="1"/>
  <VALUE name="power" val="1"/>
  <VALUE name="hide_help_tooltips" val="0"/>
  <VALUE name="survey_displayed" val="1"/>
  <VALUE name="disable_auto_switch_output" val="0"/>
  <VALUE name="hotkeys" val="0"/>
</PROPERTIES>
raddyst commented 1 month ago

I did se the file to read only mode but next time it ran the read only mode was

Try to set also System and Hidden file attributes.