Skip to content

Implement and integrate a GTK app picker#6

Merged
DavidL344 merged 26 commits intodevfrom
core/xdg-integration
Apr 11, 2024
Merged

Implement and integrate a GTK app picker#6
DavidL344 merged 26 commits intodevfrom
core/xdg-integration

Conversation

@DavidL344
Copy link
Copy Markdown
Owner

@DavidL344 DavidL344 commented Apr 4, 2024

  • Implements a GTK app picker
  • Integrates the terminal app and the GTK app picker with the Linux Desktop Environments (graphical shells) using
    • the XDG Desktop entries
    • the Bash startup file
  • Sets the configuration-related tests to run sequentially, fixing an issue where they'd interfere with each other's execution
  • Prepares a placeholder for a Windows integration to prevent the app from freezing when running integration-related commands

Waiting synchronously for the process to exit prevents a deadlock in the GUI counterpart
Passes the opened file's parsed type and path to the UI
Changes the UI scale factor based on the active monitor's DPI
Prevents the text from either overflowing or resizing the window
Reimplements the same functionality for the terminal app picker as well
The sourcing process spawns a new shell within the current one
The either spawned a subprocess or the existing process kept running in the background despite it seemingly exiting
Hides the entries from the corresponding graphical shell's app menu
Extracts the MIME type association to the XDG Desktop Entry
Prevents any tests requiring the local or portable config directory from running when they're already in use
Fixes the app freezing on Windows when the integration isn't complete
@DavidL344 DavidL344 merged commit dc00c62 into dev Apr 11, 2024
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.

1 participant