cad-editor/packaging
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Hakan Seven 49cd0809a2 fix(linux): set the Wayland window app_id so the dock shows the icon
The AppImage ships both the .desktop file and the hicolor icon, yet the dock
button came up blank on Wayland. A Wayland compositor has no StartupWMClass to
key on — it matches a window's app_id against the basename of an installed
.desktop file to find its icon — and iced defaults window app_id to an empty
string, which OCS never overrode, so nothing matched.

Set application_id to the reverse-DNS id the .desktop is installed under,
reusing the existing file_association::APP_ID const rather than a second copy.

iced enables both the x11 and wayland winit backends by default and feeds the
same application_id to each: on Wayland it is the app_id, on X11 it becomes
WM_CLASS. So this also changes the X11 WM_CLASS, and the old
StartupWMClass=OpenCADStudio would no longer match — realign it to the same id
so X11 keeps working too.

Confirmed on COSMIC/Wayland: the dock icon now appears. This is the Linux half
of the same class of bug as the Windows taskbar report (#392, still open): the
window not carrying the identity the OS needs to find its packaged icon.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-16 10:47:11 +03:00
..
homebrew docs+ci(macos): ad-hoc sign bundle, add Homebrew cask, clarify install 2026-06-04 12:45:58 +03:00
windows feat(thumbnails): embed DWG previews and wire cross-platform file thumbnails 2026-07-11 01:27:17 +03:00
Info.plist feat(thumbnails): embed DWG previews and wire cross-platform file thumbnails 2026-07-11 01:27:17 +03:00
io.github.HakanSeven12.OpenCadStudio.metainfo.xml feat(packaging): desktop shortcut, icon-cache refresh, checksums, AppStream 2026-06-16 04:27:46 +03:00
OpenCADStudio.desktop fix(linux): set the Wayland window app_id so the dock shows the icon 2026-07-16 10:47:11 +03:00