Package Details: superproductivity-bin 18.7.0-1

Git Clone URL: https://aur.archlinux.org/superproductivity-bin.git (read-only, click to copy)
Package Base: superproductivity-bin
Description: ToDo list and Time Tracking
Upstream URL: http://super-productivity.com/
Licenses: MIT
Conflicts: superproductivity, superproductivity-git
Provides: superproductivity
Submitter: alosarjos
Maintainer: alosarjos (johannesjo)
Last Packager: johannesjo
Votes: 40
Popularity: 1.61
First Submitted: 2020-10-26 19:09 (UTC)
Last Updated: 2026-05-23 11:30 (UTC)

Latest Comments

1 2 3 4 Next › Last »

alosarjos commented on 2026-05-17 06:50 (UTC)

@xnemonein Thanks a lot for checking that.

Hmmm, I would suggest giving a try replacing the wraper script by the one provided on the superproductivity package or something like that.

Kinda looks like something with KDE and the way the app is being launched to check on Upstream. I know there are a few issues there on KDE about the App icon not being pinnable or something like that. IF that's related I would suggest trying to help on the Github repo.

nemonein commented on 2026-05-17 02:42 (UTC) (edited on 2026-05-17 02:43 (UTC) by nemonein)

@alosarjos, @xfast I'm on KDE.

This is happening only on the bin version. I tried 'superproductivity' aur, no problem at all. You can see the Window Properties below.

https://imagebin.ca/v/9MmBr7gYLllO

It's Korean version, but you may easily guess the meanings.

alosarjos commented on 2026-05-16 19:11 (UTC)

@xfast

If it's something wrong the the PKGBUILD, of course I would want to patch it.

But setting the .desktop metadata to use "superproductiviy-bin" feels like a quick/bad workaround. Everything should work without referencing the -bin suffix.

Is this issue happening only with this package? Does it happen with

https://aur.archlinux.org/packages/superproductivity

?

xfast commented on 2026-05-16 17:23 (UTC) (edited on 2026-05-16 17:26 (UTC) by xfast)

@alosarjos

Yes, I am launching the wrapper, not the binary directly.

The desktop file Exec is: Exec="/opt/Super Productivity/superproductivity" %U and /usr/bin/superproductivity resolves to that wrapper. Even though wrapper passes: --class=superproductivity, KWin still reports the window as superproductivity-bin in Plasma 6 Wayland, as I showed earlier.

The AUR workaround I suggested fixes this because it matches the currently emitted (wrong) identity. If you would prefer not to patch the PKGBUILD, I may have to raise this upstream for a fix. I suspect this file:

https://github.com/super-productivity/super-productivity/blob/fbc7159b85c5c04c3e31542b9cc07789f9a8e6bf/tools/afterPack.js#L3

alosarjos commented on 2026-05-16 11:43 (UTC)

@xfast

When the AUR package includes the -bin at the end is just to represent that the source is a precompiled binary, and it should only be reflected on the package name. For the rest of the system (Binary files, .desktop files) this package is "superproductivity" and should work like that. (By this I mean, that the installed files should not have any reference to the -bin suffix)

Just to make sure, from your files you are calling the "superproductivity" script and not "superproductivity-bin" binary directly, right?

Also, if there is a problem in the way the app is being distributed and not something on the PKGBUILD file or scripts, this should be lookup up upstream to fix it for every KDE Plasma user out there, not just Arch :D

xfast commented on 2026-05-16 06:42 (UTC) (edited on 2026-05-16 17:34 (UTC) by xfast)

@alosarjos

I tested this on KDE Plasma 6 Wayland and kdotool.

The original packaged desktop file already had StartupWMClass=superproductivity and that was the broken state.

KWin reports the actual running window as:

resourceClass: superproductivity-bin
resourceName: superproductivity-bin
desktopFile: superproductivity-bin

Even when launched with --class=superproductivity, KWin still reports superproductivity-bin.

To make everything superproductivity, maybe we'll have to propose to the upstream to change Electron Wayland identity to superproductivity.

alosarjos commented on 2026-05-13 11:06 (UTC)

@xfast

I don't think the solution is adpting the -bin as WMClass, but rather make everything "superproductivty".

I dont have a KDE Plasma dekstop at hand.

Does setting both

StartupWMClass=superproductivity X-KDE-WaylandAppId=superproductivity

Fix the problem?

xfast commented on 2026-05-13 09:42 (UTC)

Can this package patch the desktop file after extracting the upstream .deb?

The .deb currently installs /usr/share/applications/superproductivity.desktop with:

StartupWMClass=superproductivity

but on KDE Plasma 6 Wayland, KWin reports the running window class as:

superproductivity-bin

This breaks Plasma task-manager matching: pinned launcher clicks and Meta+number open duplicate windows instead of focusing the existing one.

A local override with these values fixes it:

StartupWMClass=superproductivity-bin
X-KDE-WaylandAppId=superproductivity-bin

Possible PKGBUILD patch after tar -xvf data.tar.xz -C "${pkgdir}":

sed -i 's/^StartupWMClass=.*/StartupWMClass=superproductivity-bin/' \
  "${pkgdir}/usr/share/applications/superproductivity.desktop"

grep -q '^X-KDE-WaylandAppId=' "${pkgdir}/usr/share/applications/superproductivity.desktop" \
  || sed -i '/^StartupWMClass=/a X-KDE-WaylandAppId=superproductivity-bin' \
  "${pkgdir}/usr/share/applications/superproductivity.desktop"

Tested on Plasma 6 Wayland. Package version tested locally was 18.4.4-1.

zenoprax commented on 2026-03-30 17:59 (UTC)

I suggest updating the upstream URL to be the GitHub repo rather than the landing page.