Skip to content

Conversation

@hluk
Copy link
Owner

@hluk hluk commented Nov 19, 2025

AppImage is build and the app starts even on Fedora 43.

What Does Not Work

Cannot Start Clients

Client processes and clipboard monitor cannot be started.

> ./CopyQ-x86_64.AppImage --session test6 show
ERROR: Cannot connect to server! Start CopyQ server first.

Strangely, processes started from the app work if another session (not AppImage) of the app is running, otherwise there are errors like:

Note: Command “copyq: collectScriptOverrides()”
Note:    Exit code: 1
Note:    1. copyq: collectScriptOverrides()
Note: Command “copyq: onTabSelected()”
Note:    Exit code: 1
Note:    1. copyq: onTabSelected()
Note: Command “copyq onStart”
Note:    Exit code: 1
Note:    1. copyq onStart
Note: Command “copyq: onItemsLoaded()”
Note:    Exit code: 1
Note:    1. copyq: onItemsLoaded()
Note: Command “copyq --clipboard-…s monitorClipboard”
Note:    Exit code: 1
Note:    1. copyq --clipboard-access monitorClipboard
> ./CopyQ-x86_64.AppImage --session test6 info exe
/tmp/.mount_CopyQ-LkPoPK/usr/bin/copyq

Maybe something wrong with using the app session in processes.

Clipboard Monitoring

This is probably related to the above.

Clipboard monitoring does not work on newer KDE/Plasma. Not sure why, the required "libkf6guiaddons" + devel package should be installed.

It seems that the app should notice the clipboard. Here is the debug log when starting the app with WAYLAND_DEBUG=1 and after copying a text with wl-copy test:

[2937367.929] {Default Queue} ext_data_control_device_v1#42.data_offer(new id ext_data_control_offer_v1#4278190082)
[2937367.949] {Default Queue} ext_data_control_offer_v1#4278190082.offer("text/plain")
[2937367.958] {Default Queue} ext_data_control_offer_v1#4278190082.offer("text/plain;charset=utf-8")
[2937367.963] {Default Queue} ext_data_control_offer_v1#4278190082.offer("TEXT")
[2937367.968] {Default Queue} ext_data_control_offer_v1#4278190082.offer("STRING")
[2937367.973] {Default Queue} ext_data_control_offer_v1#4278190082.offer("UTF8_STRING")
[2937367.978] {Default Queue} ext_data_control_device_v1#42.selection(ext_data_control_offer_v1#4278190082)
[2937367.985] {Default Queue}  -> ext_data_control_offer_v1#4278190080.destroy()
[2937555.532] {Default Queue} ext_data_control_device_v1#42.data_offer(new id ext_data_control_offer_v1#4278190080)
[2937555.552] {Default Queue} ext_data_control_offer_v1#4278190080.offer("application/x-copyq-owner")
[2937555.560] {Default Queue} ext_data_control_offer_v1#4278190080.offer("text/plain")
[2937555.563] {Default Queue} ext_data_control_offer_v1#4278190080.offer("text/plain;charset=utf-8")
[2937555.568] {Default Queue} ext_data_control_device_v1#42.primary_selection(ext_data_control_offer_v1#4278190080)
[2937555.572] {Default Queue}  -> ext_data_control_offer_v1#4278190081.destroy()
[2937562.405] {Default Queue} ext_data_control_device_v1#42.data_offer(new id ext_data_control_offer_v1#4278190081)
[2937562.413] {Default Queue} ext_data_control_offer_v1#4278190081.offer("application/x-copyq-owner")
[2937562.417] {Default Queue} ext_data_control_offer_v1#4278190081.offer("text/plain")
[2937562.421] {Default Queue} ext_data_control_offer_v1#4278190081.offer("text/plain;charset=utf-8")
[2937562.426] {Default Queue} ext_data_control_device_v1#42.primary_selection(ext_data_control_offer_v1#4278190081)
[2937562.432] {Default Queue}  -> ext_data_control_offer_v1#4278190080.destroy()

Stylesheets, Themes and Translations

The files are included in the AppImage, but cannot be found by the app.

Are the files mounted somewhere for the AppImage?

Network Requests

I think EXTRA_QT_MODULES are missing some Qt plugins.

> ./CopyQ-x86_64.AppImage --session test6 --start-server "r = networkGet('https://www.example.com'); print(r.status); exit()"
Warning: [qt.tlsbackend.ossl] Failed to load libssl/libcrypto.
Warning: [qt.network.ssl] The backend "cert-only" does not support QSslKey
Warning: [qt.network.ssl] Active TLS backend does not support key creation
...
Warning: [qt.network.ssl] The backend "cert-only" does not support QSslSocket
Warning: [qt.network.ssl] The backend named "cert-only" does not support TLS
Warning: [qt.network.ssl] QSslSocket::connectToHostEncrypted: TLS initialization failed
undefined
Terminating server.

@hluk
Copy link
Owner Author

hluk commented Nov 19, 2025

@robertstrom Feel free to test the AppImage. It is available at: https://github.com/hluk/CopyQ/actions/runs/19513290889?pr=3323#artifacts

See the description above for the list of things that are not working. Not sure if it can be fixed.

@codecov
Copy link

codecov bot commented Nov 19, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 79.88%. Comparing base (1f05fee) to head (a1d7f38).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3323      +/-   ##
==========================================
- Coverage   79.89%   79.88%   -0.01%     
==========================================
  Files         231      231              
  Lines       28458    28458              
==========================================
- Hits        22736    22735       -1     
- Misses       5722     5723       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@hluk hluk force-pushed the appimage branch 13 times, most recently from 68dc8c6 to bd13b11 Compare November 20, 2025 12:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants