Closed itsxaos closed 6 months ago
That should definitely not be the case and it's likely an oversight on my side. Thanks for reporting, I'll have a look at this tomorrow.
Should be fixed on master. I also updated the AUR packages.
Awesome, thank you! I reinstalled just now and the fix for the AUR package works.
Relevant components
syncthingctl
)libsyncthing
)Environment and versions
syncthingtray
: 1.4.10-1 & 1.4.11-1,qtutilities
: 6.13.3-1 andc++utilities
: 5.24.4-1qt5-base 5.15.11+kde+r148-1
/qt6-base 6.6.1-2
clang 16.0.6-1
/gcc 13.2.1-3
libc++ 16.0.6-1
/gcc-libs 13.2.1-3
Bug description
Running the tests (i.e. when updating the AUR package) overwrites the autostart entry command to something like
"/home/xaos/.cache/yay/syncthingtray/src/syncthingtray-1.4.10/syncthingwidgets/syncthingwidgets_wizard_tests" qt-widgets-gui --single-instance
. This then means Syncthing Tray does not autostart on subsequent reboots / logins.I've had a quick look at
syncthingwidgets/tests/wizard.cpp
and some of thesyncthingwidgets/settings
files but I haven't been able to figure out why this is happening.Steps to reproduce
~/.config/autostart/syncthingtray.desktop
yay -Su syncthingtray
)~/.config/autostart/syncthingtray.desktop
Expected behavior Tests probably should not change config / autostart files, or if they have to, try to restore them to how they were.
Additional context I think this has been happening for quite a while, it just took me some time to figure out why the autostart kept breaking.
P.S.: Thanks for your work on Syncthing Tray, I like it a lot!