AvengeMedia / AvengeMedia/DankMaterialShell

Clipboard behavior is inconsistent with previous versions

Open
#1,818 2 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
QML
Stars
8.1k
Forks
515
Avg merge
1d 8h
Merged PRs (30d)
102

Description

### Compositor

Niri

### Distribution

Arch Linux

### If Other, please specify

_No response_

### Select your Installation Method

Distro Packaging

### Was this your original Installation method?

Yes

### If no, specify

_No response_

### dms doctor -vC

Click to expand
❯ dms doctor -v

██████╗ █████╗ ███╗ ██╗██╗ ██╗
██╔══██╗██╔══██╗████╗ ██║██║ ██╔╝
██║ ██║███████║██╔██╗ ██║█████╔╝
██║ ██║██╔══██║██║╚██╗██║██╔═██╗
██████╔╝██║ ██║██║ ╚████║██║ ██╗
╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═══╝╚═╝ ╚═╝

System Health Check

──────────────────────────────────────

System
● Operating System ····· Arch Linux
└─ ID: arch, Version: rolling, Arch: amd64
● Architecture ········· amd64
● Display Server ······· Wayland
└─ WAYLAND_DISPLAY=wayland-1

Versions
● DMS CLI ·············· dms v1.4.2
└─ /usr/bin/dms
● Quickshell ··········· quickshell 0.2.1, revision , distributed by: Arch Linux
└─ /usr/bin/qs
→ https://danklinux.com/docs/dankmaterialshell/cli-doctor#quickshell
● DMS Shell ············ v1.4.2
└─ /usr/share/quickshell/dms

Installation
● DMS Configuration ···· Found
└─ /usr/share/quickshell/dms
● shell.qml ············ Present
└─ /usr/share/quickshell/dms/shell.qml
○ Install Type ········· System package
└─ /usr/share/quickshell/dms

Compositor
● niri ················· 25.11
└─ /usr/bin/niri
○ Active ··············· niri

Quickshell Features
○ Polkit ··············· Not available
└─ Authentication prompts
○ IdleMonitor ·········· Not available
└─ Idle detection
○ IdleInhibitor ········ Not available
└─ Prevent idle/sleep
○ ShortcutInhibitor ···· Not available
└─ Allow shortcut management (niri)

Optional Features
● accountsservice ······ Available
└─ User accounts
● power-profiles-daemon Available
└─ Power profile management
● logind ··············· Available
└─ Session management
● cups-pk-helper ······· Available
└─ Printer management
● I2C/DDC ·············· 1 monitor(s) detected
└─ External monitor brightness control
● qt6-imageformats ····· Installed (5 formats)
└─ Formats: WebP, TIFF, GIF, JP2, ICNS (/usr/lib/qt6/plugins/imageformats)
● kimageformats ········ Not installed
└─ AVIF, HEIF, JXL support
→ https://danklinux.com/docs/dankmaterialshell/cli-doctor#optional-features
● Terminal ············· kitty
● Network ·············· NetworkManager
└─ NetworkManager present. Using NM API.
● matugen ·············· Installed
└─ Dynamic theming
● dgop ················· Installed
└─ System monitoring
● cava ················· Installed
└─ Audio visualizer
○ khal ················· Not installed
└─ Calendar events
● danksearch ··········· Installed
└─ File search
○ fprintd ·············· Not installed
└─ Fingerprint auth

Config Files
● settings.json ········ Present
└─ /home/ritsukage/.config/DankMaterialShell/settings.json
● clsettings.json ······ Present
└─ /home/ritsukage/.config/DankMaterialShell/clsettings.json
● plugin_settings.json · Present
└─ /home/ritsukage/.config/DankMaterialShell/plugin_settings.json
● session.json ········· Present
└─ /home/ritsukage/.local/state/DankMaterialShell/session.json
● dms-colors.json ······ Present
└─ /home/ritsukage/.cache/DankMaterialShell/dms-colors.json

Services
● dms.service ·········· enabled, active
● greetd ··············· enabled

Environment
○ QT_QPA_PLATFORMTHEME · Not set
○ QS_ICON_THEME ········ Not set

──────────────────────────────────────
2 warning(s), 27 ok

→ Consider using quickshell-git for full feature support

### Description

I use https://github.com/dnut/clipboard-sync for clipboard synchronization
In previous versions of DMS, I could use it normally to copy images and paste them into other programs
However, since the major DMS update, when I copy images from it, the result of pasting is the image path rather than the actual image content
such as `/home/***/.cache/dms/clipboard/1771929277015094128.png`

### Expected Behavior

Expected to paste normally the actual image content

### Steps to Reproduce

1. Enable clipboard-sync service
2. Copy an image/take a screenshot
3. Select the image from clipboard manager
4. Paste the image in other programs
5. Getting incorrect path output

### Error Messages/Logs

_No response_

### Screenshots/Recordings

_No response_

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue with dnut/clipboard-sync enabled: copy or take a screenshot, select it from the DMS clipboard manager, and paste into another program. Compare whether the target receives the image content or the cached PNG path. Done means image selections paste as images rather than paths.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.