Package Details: syncthingtray-qt6 1.5.2-1

Git Clone URL: https://aur.archlinux.org/syncthingtray-qt6.git (read-only, click to copy)
Package Base: syncthingtray-qt6
Description: Tray application for Syncthing (using Qt 6)
Upstream URL: https://github.com/Martchus/syncthingtray
Licenses: GPL
Submitter: Martchus
Maintainer: Martchus
Last Packager: Martchus
Votes: 12
Popularity: 2.74
First Submitted: 2020-11-07 16:16 (UTC)
Last Updated: 2024-04-09 14:19 (UTC)

Pinned Comments

Martchus commented on 2023-11-21 23:20 (UTC) (edited on 2024-03-06 16:45 (UTC) by Martchus)

All my packages are managed at GitHub where you can also contribute directly: https://github.com/Martchus/PKGBUILDs
There also exist a binary repository: https://wiki.archlinux.org/index.php/Unofficial_user_repositories#ownstuff
The packages within the binary repository are built against the latest packages from Arch Linux and hence might not be compatible with Manjaro. This can be the cause when the Plasmoid doesn't work.
Note that the syncthingtray-qt6 package in my binary repository is even built against Arch Linux's kde-unstable repository in order to include KDE integrations as well. That means you'll need that repository as well - even for the desktop-neutral parts (at least when kde-unstable has a newer version of Qt).** You can still build this package yourself against the normal repositories (without KDE integrations) or use syncthingtray instead for the time being.

Important remarks:

  • Like with any other package a rebuild is required when the soname of a dependency like boost changes (see e.g. https://github.com/Martchus/syncthingtray/issues/98). The package in my binary repository should be rebuilt in a timely manner. I'm usually also updating pkgrel of the AUR package when a rebuild is required (only in accordance with Arch Linux of course, not in accordance with Manjaro).
    • The "dirty" way is forcing the installation/update (leaving syncthingtray-qt6 broken until it has been rebuilt) or to uninstall syncthingtray-qt6 temporarily before the update. After the update syncthingtray-qt6 can be rebuilt and reinstalled again.
    • The correct solution is to use makechrootpkg which is also how official developers build their packages (and how packages in my binary repository are built).
  • It is required to build dependencies (that are not provided by Arch Linux itself) before building this package. So you need to build c++utilities, qtutilities-qt6, qtforkawesome-qt6 and syncthingtray-qt6 in that order.
  • The KDE integrations have been ported to KDE 6. This package builds KDE integrations for KDE 6 by default as KDE 6 is now in the main repositories.
  • Note that the tests of this package might fail despite there's nothing wrong (e. g. because Syncthing is just too slow and the test runs in a timeout). To ignore those false-positives, build the package with makepkg --nocheck or makechrootpkg -- --nocheck. It makes still sense to report failures. But please include the actual error message and not just the last few lines.

Latest Comments

1 2 3 4 Next › Last »

Martchus commented on 2024-03-26 11:21 (UTC) (edited on 2024-03-26 11:23 (UTC) by Martchus)

If you're referring to using Xorg, then that's a non-starter. Xorg is dead and rotting.

And Wayland still has many limitations and you've just hit one of those. Of course you're also right about Xorg. That unfortunately puts the GNU/Linux desktop at a bad place right now but this is probably out of scope here. (When I asked Plasma developers to provide necessary APIs under Wayland to fix the issues with the stand-alone version of Syncthing Tray they declined. The Plasmoid is the way to go.)

Martchus commented on 2024-03-26 11:18 (UTC) (edited on 2024-03-26 11:19 (UTC) by Martchus)

The plasmoid, while it functions as expected, doesn't persist between reboots.

That shouldn't be the case. If configured as explained in the README it is loaded together with plasmashell. The persistency of this is handled on Plasma's side. There's currently a bug (https://github.com/Martchus/syncthingtray/issues/239) but it doesn't prevent the Plasmoid from persisting between reboots.

In addition, the icon expands to the height of the panel is absolutely ugly.

That's probably something I could improve. When shown as part of the system tray Plasmoid this should already work as expected, though. (As it is sized just like the other Plasmoids that are part of the system tray Plasmoid.)

31PNMR commented on 2024-03-26 11:11 (UTC)

I don't see that you gave any "advice". If you're referring to using Xorg, then that's a non-starter. Xorg is dead and rotting. The plasmoid, while it functions as expected, doesn't persist between reboots. It disappears from the panel and must be added each time. In addition, the icon expands to the height of the panel is absolutely ugly.

Martchus commented on 2024-03-26 10:29 (UTC)

@31PNMR Then follow the advice I gave @iyanmv.

31PNMR commented on 2024-03-26 01:21 (UTC)

I'm having a similar issue as iyanmv on Plasma 6 Wayland session. When clicking on the icon in the system tray, the menu window opens in the center of the screen, not attached to the panel below the system tray. That means no other application can be open on that screen in order to interact with it. This may be caused by shifting focus as I have "focus follows mouse" enabled.

iyanmv commented on 2024-02-11 22:20 (UTC)

I was using the Qt widgets version but I guess what I wanted was the plasmoid. I changed _enable_plasmoid=${SYNCTHING_TRAY_ENABLE_PLASMOID:-0} to _enable_plasmoid=${SYNCTHING_TRAY_ENABLE_PLASMOID:-1} in the PKGBUILD and enable it directly on the system tray. I have no intention to use X11, been happily using Wayland since Plasma 5.24 :)

Thanks for the help!

Martchus commented on 2024-02-11 20:20 (UTC)

You haven't clarified whether you use the Qt widgets based version or the Plasmoid. I assume you use the former. Then positioning doesn't work under Wayland what you have probably switched to (because Wayland does not offer an API, I cannot fix this from my side). I suggest you keep using X11 (still supported by Plasma 6) or you use the Plasmoid instead (see the previously linked documentation for details).

iyanmv commented on 2024-02-11 19:55 (UTC)

Sorry, perhaps I was not clear. The looking of the app is good (colors and all that follow Breeze Dark theme). What I meant is that on Plasma 5.x when I click on the try icon I get a panel directly on top of the icon exactly the same as clicking on the volume or network icons, for example. But in Plasma 6 RC 2 I get a centered pop up window in the middle of the screen.

iyanmv commented on 2024-02-11 19:53 (UTC)

Martchus: Yes, I'm running Plasma 6 RC 2 from [kde-unstable]

Martchus commented on 2024-02-11 17:33 (UTC)

Are you using the Qt Widgets based version or the Plasmoid?

The Qt Widgets based version (provided by this package using Qt 6) will only look like its Qt 5 based equivalent when the same Qt Widgets style is installed and configured. The Breeze style is only available for Qt 5 so far - unless you install the RC version from the kde-unstable repo.

If you are using the Plasmoid then the appearance of the Syncthing Tray Plasmoid will always look in-line with the Plasma shell but of course you need Plasma from the kde-unstable repo to be able to use the Plasmoid contained by this package.

If you're not sure whether you use the Qt Widgets based version or the Plasmoid then read https://github.com/Martchus/syncthingtray?tab=readme-ov-file#configuring-plasmoid.