github flatpak/xdg-desktop-portal 1.21.0

pre-release8 hours ago

New Features:

  • Add the has_current_page and has_selected_pages options to the Print
    Portal (#1777)
  • Allow running the tests with Valgrind's memcheck (#1770)
  • Add the ConfigureShortcuts method to the Global Shortcuts Portal (#1661)
  • Send activation tokens in the actiavated and deactiavated signals on the
    Global Shortcuts Portal (#1792)
  • Add a new reduced motion setting to the Settings Portal (#1840)
  • Support linyaps applications (#1846)
  • Add missing cell broadcast severities to the Notification Portal (#1738)

Enhancements:

  • Code cleanup (#1574, #1809, #1771, #1727)
  • Code refactoring (#1805, #1815, #1819, #1686)
  • Documentation improvements (#1712, #1759, #1776, #1795, #1798, #1866)
  • New and updated translations (#1735, #1760, #1765, #1774, #1780, #1781,
    #1786, #1787, #1789, #1797, #1800, #1801, #1802, #1811, #1833, #1826,
    #1852, #1841, #1843, #1851, #1869, #1860, #1788)
  • Improve various permission dialog texts (#1769, #1327, #1804)
  • Release procedure clarifications (#1710, #1714)
  • Updates to ASAN suppressions (#1711)
  • Make XdpAppInfo more testable (#1627)
  • Use the new PIDFD_GET_PID_NAMESPACE ioctl to get the pidns (#1713)
  • Improvements to the heuristics to translate a path in the sandbox to a path on
    the host (#1571)
  • Improve the mocking of the GeoClue service (#1695)
  • Make the camera permissions per-App on the host again (#1762)
  • Clean up permissions and desktop IDs usage (#1772, #1773)
  • Improve PID translations for host Apps (#1785)
  • Show an appropriate error when access to remote documents fails (#823)
  • Require a valid AppID from apps in RequestBackground to enable autostart
    (#1793)
  • Require a valid AppID from apps to use the Global Shortcuts Portal (#1817)
  • Test and document Notification Portal backward compatibilities (#1823)
  • Improve the heuristic to detect the App ID for host apps (#1595)
  • Add Merge Requirements documentation (#1775)
  • Initialize the Secret Portal asynchronously to avoid blocking when the secret
    service is not available (#1814)
  • Do not allow requesting a zero capability from the Input Capture Portal
    (#1880)
  • Require GLib version 2.76 and drop the related compatibility code (#1730)

Bug Fixes:

  • Fix a crash when loading information from Flatpak apps (#1720)
  • Fix fd handling to prevent EBADF errors (#1721)
  • Add a fallback code path for GLib older than 2.76 (#1728)
  • Don't require a .desktop file for Flatpak and Snap apps (#1729)
  • Fix a crash when calling GlobalShortcuts.BindShortcuts with an empty list
    (#1732)
  • Fix a crash when passing Request token handles which contain - (#1748)
  • Fix tests on systems without access to /proc/cmdline (#1766)
  • Stop accidentally running pytests of subprojects (#1767)
  • Give up trying to unmount an existing fuse mount when shutting down the
    Document Portal (#1799)
  • Fix compilation on Debian Testing, caused by a wrong cast (#1625)
  • Fix ownership of pidfd for XdpAppInfos (#1810)
  • Fix uninitialized variables (#1825)
  • Do not give access to read-only USB devices when read-write access was
    requested (#1794)
  • Do not kill PID 0 and handle races properly (#1864)
  • Fix forwarding the available-source-types and available-cursor-modes from
    the backend (#1868)
  • Ensure valid WAYLAND_DISPLAY/DISPLAY by launching after the graphical session
    target (#1830)

Don't miss a new xdg-desktop-portal release

NewReleases is sending notifications on new releases.