-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add io.github.martchus.syncthingtray #5255
Conversation
patches/0001-Specify-the-developer-ID-in-AppStream-meta-data.patch
Outdated
Show resolved
Hide resolved
@hfiguiere Could you please help to review again? Also due to the application id is changed, should I send another PR? |
Nope, please keep it in this PR. |
You can consider cherry-picking https://github.com/Martchus/syncthingtray/commit/1ca2eecbf1bab96dc9fddd21b50cb95c451b3b9f.patch and adding |
Co-authored-by: bbhtt <bbhtt.zn0i8@slmail.me>
Co-authored-by: bbhtt <bbhtt.zn0i8@slmail.me>
Merged, but the autostart configuration in setup wizard still exist. |
Build 121967 successful
|
When installing this via the command mentioned by the bot I also got EDIT: I haven't found anything critical when testing the Flatpak. Just a few remarks: It seems to work quite well besides the positioning issues under Wayland which have nothing to do with the Flatpak. As I had Syncthing already running outside of the Flatpak I only tested the case of connecting to an already running instance. The wizard was not able to detect the Syncthing config file out of the box (which usually works) but it was possible to point it to the correct location of the config file and proceed via the wizard without manual configuration. It doesn't contain the built-in web view but I guess that's a good thing (because shipping a whole web engine is quite excessive just for this purpose; I also don't do it for Windows builds). Unfortunately the option to open the web view in a Chromium-based browser in app-mode doesn't seem to work. It always fails claiming that it cannot open "msedge" (the last binary it tries before giving up). Maybe it requires an additional permission to run certain binaries installed outside of Flatpak (or maybe it would help to install Chromium as Flatpak?). It also looks like opening a folder in the local file browser doesn't work. Considering opening Syncthing in the users normal web browser works (and that uses the same underlying mechanism), maybe also just a permission is missing? |
Are you sure it wasn't just updated? |
I haven't even had Flatpak itself installed at all on that machine. (Although it could be that some leftovers were still installed from ages ago.) The exact log of the installation looked like this:
|
@qgymib You're right. I have just pushed https://github.com/Martchus/syncthingtray/commit/9dcd1c268b38e9392b13201b1890758bf78e1477.patch to cover this as well. I have already tested it so feel free to cherry-pick it as well. |
Verified and merged. |
That was by design, the
It was also by design because flatpak isolate host file access. Is that works by find executable in $PATH? In that case we cannot give read access to every directory in $PATH because pre-defined file access rule is static, and also might be too much open. I perfer user manually override file access rules by Flatseal or console.
I didn't find the place to open a folder, where is it? |
Ok, I guess that makes sense. A folder can be opened by clicking on the folder icon of an entry within the folders tab. |
Sorry but none of these icons are click-able (Tested on windows and ubuntu, with official releases). Am I made any mistake? Edit: Oh I totally miss understanding your description. Opening a file picker dialog in Syncthing Tray's Settings window, and in the file picker dialog open a folder using system file manager works for me. Can you describe the exactly reproducible steps? |
I meant the icons on the right side (next to the status) in the Syncthing Tray UI (not the web UI). |
Breeze is being installed as it is likely the desktop theme you use. You can ignore that one. OpenURI is supposed to work with Qt 6 in Flatpak there were some issues with Qt5 but, they were resolved by Qt6. So you probably have to report that upstream. |
@Martchus. Yeah I found it and the folder does open normally. What is your system & Desktop environment & Display server ? If they are easy to install I probably can test them in virtual machines.
@bbhtt. I can try to help to reproduce that. BTW, could you please trigger another test build since there is a patch appended? |
Feel free to start builds when needed. bot, build io.github.martchus.syncthingtray |
Queued test build for io.github.martchus.syncthingtray. |
Started test build 122011 |
Build 122011 successful
|
@qgymib It was the latest KDE Plasma 6 using Wayland via KWin. However, I think the problem was simply due to:
So probably not worth investigating considering it generally works.
@bbhtt But |
@Martchus I test on a fresh ubuntu VM and install kalk which also depends on KDE runtime. It turns out also installed a GTK theme At this point I guess is it safe to say everything is ready so we can be merged ? |
From my side, yes. |
@bbhtt @hfiguiere Is there anything else we can do? |
bot, build io.github.martchus.syncthingtray |
Queued test build for io.github.martchus.syncthingtray. |
Started test build 122404 |
Build 122404 successful
|
/merge |
A repository for this submission has been created: https://github.com/flathub/io.github.martchus.syncthingtray You will receive an invitation to be a collaborator which will grant you write access to the repository above. The invite can be also viewed here. If you've never maintained an app on Flathub before, common questions are answered in the app maintenance guide. If you're the original developer (or an authorized party), verify your app next to let users know it's coming from you. Thanks! |
Please confirm your submission meets all the criteria
Description
Syncthing Tray provides a tray icon and further platform integrations for Syncthing. Checkout the website for an overview.
Submit Permission
Martchus/syncthingtray#261
Please also add upstream app author @Martchus as maintainer.
About filesystem access permissions
The syncthing is a file synchronization program, in most case user need it to sync their files between different machines,so access to
/home
should be necessary.