Add Flatpak packaging for Sidemark (GNOME runtime, desktop metadata, docs) - #63
Draft
brokkoli71 with Copilot wants to merge 2 commits into
Draft
Add Flatpak packaging for Sidemark (GNOME runtime, desktop metadata, docs)#63brokkoli71 with Copilot wants to merge 2 commits into
brokkoli71 with Copilot wants to merge 2 commits into
Conversation
Copilot
AI
changed the title
[WIP] Add Flatpak packaging support for Sidemark
Add Flatpak packaging for Sidemark (GNOME runtime, desktop metadata, docs)
Jun 18, 2026
brokkoli71
added a commit
that referenced
this pull request
Jun 18, 2026
…ble tool bindings) - #63 bug: first 'Open recent' click does nothing — popdown+popup race between two popovers on the same menu button - #64 right-click / modifier combos to assign tools (customizable bindings map) Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01ShZ2ZkG7Ej4qBGRxkhrP2Z
brokkoli71
added a commit
that referenced
this pull request
Jun 20, 2026
The ☰ menu had sibling popovers for "Open recent" and "Keyboard shortcuts" parented to the same menu button. Clicking an item did menu_pop.popdown() then sibling.popup() in one callback; GTK4 suppresses the second popover while the first is still dismissing, so the first click only closed the menu. Deferring the popup() to the menu's "closed" signal did not help — that signal fires synchronously during popdown(), still mid-animation. Drop the sibling popovers entirely: the menu popover now holds a single Gtk.Stack with main/recent/shortcuts pages, switched in place via _show_menu_page() with a "← title" back button per sub-page. No second popover means no race. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BgBDYhTgny2T3hV1QPiVAh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds Flatpak as an additional Linux distribution path for Sidemark while preserving existing native installation (
install.sh) and AUR packaging. It introduces build metadata and desktop integration assets needed to run the current GTK4/libadwaita Python app in a Flatpak sandbox with host file access.Flatpak manifest and build layout
flatpak/de.hspitz.sidemark.ymlusing:app-id: de.hspitz.sidemarkruntime: org.gnome.Platform//47sdk: org.gnome.Sdk//47command: sidemark--filesystem=home, Wayland/X11, DRI).Application install/launch wiring inside Flatpak
flatpak/sidemark-launcherand install rules to place:/app/share/sidemark/sidemark.py/app/bin/sidemark/app/share/applications/de.hspitz.sidemark.desktop/app/share/icons/hicolor/scalable/apps/de.hspitz.sidemark.svgDependency module for Python packages
flatpak/requirements.txtand manifest module to install Python deps into/appwith pip (numpy,PyMuPDF,pycairo), matching app runtime expectations.Desktop/appstream metadata
flatpak/de.hspitz.sidemark.metainfo.xmlwith appstream metadata for desktop-app packaging and software-center visibility.User documentation
README.mdwith a Flatpak section covering build/install/run and host file forwarding usage.