gnome-gitlab World/Phosh/phosh v0.50.0

19 hours ago

Summary of changes

  • Allow to open the top-bar settings panel easily
  • Move brightness handling to phosh, it got dropped from g-s-d 49.
  • Mark demo plugins as NoDisplay so they don't show in p-m-s
  • Don't crash g-c-c when running nested
  • Reset them when auto-HighContrast is turned off
  • Issues fixed:
  • Contributors:
    • Anna (cybertailor) Vyalkova
    • Evangelos Ribeiro Tzaras
    • Guido Günther

i18n updates

  • UI translations:
    • Emin Tufan Çetin (tr)
    • Jiri Grönroos (fi)
    • Jordi Mas i Hernandez (ca)
    • Kristjan SCHMIDT (eo)
    • Nathan Follens (nl)
    • Philipp Kiemle (de)
    • Sabri Ünal (tr)
    • twlvnn kraftwerk (bg)
    • Yaron Shahrabani (he)

Detailed changes

phosh (0.50.0) experimental; urgency=medium
.
  [ Guido Günther ]
  * shell: Move osd window here.
    This allows us to use the osd window not only via DBus and
    it doesn't warrant its own manager object.
  * backlight-manager: New object to manage backlight brightness.
    This manages keybindings, OSD, etc as we don't want that put into
    a brightness slider. We can later on use it to manage the brightness
    of different backlights (instead of just the primary one).
  * shell: Instantiate backlight manager
  * brightness-manager: Make keybindings optional.
    The corresponding schema is not very wide spread yet so don't error
    out if the schema isn't recent.
  * simple-custom-quick-setting: Hide in settings by default.
    We don't want to show demo plugins there
  * calendar: Hide in settings by default.
    We don't want to show demo plugins there
  * ci: Trigger libphosh-rs pipeline.
    Adjust to the new repo location
  * monitor-manager: Move mode building to separate function.
    We'll make use of this in the next commit
  * monitor-manager: Only skip unnamed mode if not the current one.
    This helps e.g. when running nested as those configs only have
    a single unnamed mode.
  * monitor-manager: Add default mode when there's no mode list
  * data: Depend on OSK target
    gnome-session >= 49 no longer handles `RequiredComponents`
    in session files. We hence need start the OSK via systemd.
    Do so by providing a target unit. The OSK implementations then
    merely need to fill in the service unit.
  * ambient: Reset theme when turning of auto-hc.
    We want to make sure the users has back its default theme
    when they disable automatic high contrast.
  * session: Start the OSK later.
    We want the layer ordering to happen after the shell is up.
  * brightness: Remove unused variables.
    Fixes: aa0066c5a ("settings/brightness: Use built in brightness handling")
  * backlight: Add and use methods to get and set relative brightness.
    No need to make the calculations in multiple places
  * shell: Allow to get brightness manager.
    We want to get it in `PhoshSettings`
  * brightness-manager: Maintain an adjustment.
    Maintain an adjustment of brightness percentage as model. That frees
    other parts of the shell from doing so.
  * settings: Use brightness manager's adjustment.
    That way we don't need to worry about any monitor changes
    and while at that can get rid of the somewhat arcane code
    (the brightness slider was one of our first features :)).
  * brightness-manager: Add Brightness DBus interface.
    The DBus API XML is from gnome-shell as of:
      e54aa588c ("slider: Use the sprite of the touch event, not the pointer")
  * brightness-manager: Move keybindings schema check to end of init.
    Otherwise we exit early with older schema disabling brightness
    handling completely.
    This allows us to run with schemas < 49.0.
  * settings: Only show brightness slider when useful.
    For now we show it when we have brightness control. We might
    also hide it later on when automatic brightness is enabled.
.
  [ Jordi Mas i Hernandez ]
  * Update Catalan translation
.
phosh (0.50~rc1) experimental; urgency=medium
.
  [ Yaron Shahrabani ]
  * Update Hebrew translation
.
  [ Philipp Kiemle ]
  * Update German translation
.
  [ Guido Günther ]
  * treewide: Prefer char over gchar.
  * tests: Use g_timout_add_once.
    Our on_waited never acturally returned `FALSE` to stop the
    timeout.
  * wifi-network-row: Use correct type for transform func
  * wifi-status-page: Use correct function signature.
  * build: Fix indent.
    We can use a list so that the automatic formatter doesn't get confused.
    Fixes: b2fcd0dcf ("build: Format meson files")
  * doc: Update issue template.
    Some information is nowadays easier to maintain, debugging
    is better documented.
  * quick-settings: Enable wifi-hotspot and mobile data by default.
  * settings: Disable launching mobile panels on lockscreen too.
    Fixes: af37b2c74 ("settings: Add action to open mobile settings")
  * top-panel: Move launching settings here.
    This allows us to use it from all places in the top panel
  * icons: Add settings icon. Taken from org.gnome.design.IconLibrary.
  * top-panel: Add gear button. This gives us easy access to the top panel
    configuration
  * treewide: Use stevia. phosh-osk-stub is no more.
  * location-manager: Avoid cast. This gives us more type safety
  * location-manager: Use cancellable more. Cancel these calls too on shutdown
  * proximity-manager: Use cancellable. Fixes a test suite crash
  * location-manager: Dispose connection on shutdown.
    The object returned by `g_bus_get_finish()` is a singleton
    but we need to unref it nevertheless.
  * wwan-mm: Avoid cast.
    This gives us more type safety
  * wwan-mm: Avoid cast.
    This gives us more type safety
  * wwan-mm: Dispose connection on shutdown
  * monitor-manager: Avoid cast.
    This gives us more type safety
  * tests: Make sure gvfs doesn't spawn in tests.
    We don't want it to take any DBus connection that could block
    GTestDBus shutdown.
  * util: Improve phosh_dbus_service_error_warn()
    We usually want to special case "cancelled" and
    "doesn't exist" in the tests.
  * feedback-manager: Ignore service unknown errors.
    These can happen in tests
  * tests: Set XDG_CURRENT_DESKTOP.
    This ensures we pick up Phosh's gsettings defaults
  * ci: Udpate image.
    Let's update to Trixie before we switch to Forky soon.
  * ci: Shuffle dockerfile a bit.
    Update everything first rather than in between. The
    removal of the comment ensures we actuall get the build-deps
    installed again thus speeing up the build.
  * keyboard-events: Check for error.
    It is an initable so lets use it
  * util: Add helper to construct keybindings.
    This happens in different places of the shell and is repetitive
  * top-panel: Use keybindings builder
  * home: Use keybindings builder
  * home: Don't forget to add the super key entries.
    We want to have them in the keybinding names as well so they
    get removed on dispose.
  * run-command-manager: Use keybindings builder
  * screenshot-manager: Use keybindings builder
  * gitignore: Ignore wraplock
  * monitor-manager: Drop change_backlight helper.
    No longer invoked by g-s-d
  * keyboard-events: Drop protocol version check.
    We require a recent enough version since ages
  * shell: Init settings early.
    We want to do as little as possible in constructed
  * shell: Move toplevel manager to init.
    We want to do as little as possible in constructed
  * shell: Set resource path in init.
    We want to do as little as possible in constructed
  * udev-manager: New class to handle udev interaction.
    We need a client for torch and backlight. Track it in a common class
    and add the helpers we'll need for backlight handling.
  * udev-manager: Get us a login session proxy.
    While not strictly udev related torch and backlight both need it
    and there's no point in introducing yet another class.
    We might want to turn that into a more generic "ShellBackend" class that
    could e.g. also track gsettings.
  * shell: Instantiate udev manager.
    It's a singleton but lets give it clear life cycle
  * packaging: Version g-s-d dependency.
    We want one entity to control brightness
  * backlight-sysfs: New class to manage sysfs based backlights.
    There might be others later, e.g. ddc and thus introduce a
    `PhocBacklight` base class. This is inspired by what g-s-d 48 did and
    what mutter 49 does now so we can continue to interact with g-s-d power.
  * monitor: Create backlight.
    The backlight is attached to the monitor so we can look it up
    for brightness handling.
  * settings/brightness: Use built in brightness handling.
    Closes: https://gitlab.gnome.org/World/Phosh/phosh/-/issues/1261
  * udev-manager: Support torch subsystem too.
    Use that from the torch-manager
.
  [ Jordi Mas i Hernandez ]
  * Update Catalan translation
.
  [ Emin Tufan Çetin ]
  * Update Turkish translation
.
  [ Jiri Grönroos ]
  * Update Finnish translation
.
  [ Anna (cybertailor) Vyalkova ]
  * tests: Don't assume build directory is inside source directory.
    Fixes: 4c58fc4fb ("searchd: Add deamon to gather search results")
.
  [ Evangelos Ribeiro Tzaras ]
  * meson: Require rst2man for building manpages.
    The build option description already specifies that rst2man is
    required, but it's not codified in the build files.
.
  [ Nathan Follens ]
  * Update Dutch translation
.
  [ Sabri Ünal ]
  * Update Turkish translation
.
  [ Kristjan SCHMIDT ]
  * Update Esperanto translation
.
  [ twlvnn kraftwerk ]
  * Update Bulgarian translation

Required versions of related projects

Required patches that are merged upstream but not yet in a released version:

Required patches that aren't merged upstream yet:

Recommended patches on other projects

Patches that are merged upstream but not yet in a released version:

(none)

Patches that aren't merged upstream yet:

See meson.build and debian/control for build-time and run-time dependencies.

For older releases

These are only some of the required/recommended patches. If in doubt please use the released versions above:

Don't miss a new phosh release

NewReleases is sending notifications on new releases.