1. 18 Jul, 2021 7 commits
  2. 17 Jul, 2021 2 commits
  3. 16 Jul, 2021 13 commits
    • Ian Douglas Scott's avatar
      location: Add GObject properties to `Location.Indicator` · 51a8bbdd
      Ian Douglas Scott authored
      Makes `enabled`, `in-use`, and `max-accuracy-level` GObject properties
      that can be used for property binding, etc.
      
      Part-of: <!1919>
      51a8bbdd
    • Marco Trevisan's avatar
      ControlsManagerLayout: Allocate respecting the work area · 81a1e294
      Marco Trevisan authored
      We build controls layout using the whole monitor vertical space as
      available, however extensions or external apps in X11 may reduce the
      workarea size horizontally and the shell should always take care of it.
      
      Given that we're already assuming that the allocation is monitor-based
      and that we're adjusting it to the workarea, we can just make it more
      explicit by using a workarea box that is used as the allocation area.
      
      As per this, we also apply the same logic of applied to the vertical
      dimension to the horizontal one.
      
      Part-of: <!1892>
      81a1e294
    • Marco Trevisan's avatar
      ControlsManagerLayout: Consider workarea height for the available space · 2b074882
      Marco Trevisan authored
      We always consider the whole workarea space to be available when
      computing the controls manager layout, however this may not be the truth
      when using extensions such as Window List which are reducing the work
      area size.
      
      So take care of it, reducing the box height.
      
      Fixes: #4330
      Part-of: <!1892>
      2b074882
    • Marco Trevisan's avatar
      ControlsManagerLayout: Use the workarea size to compute the available height · f164e086
      Marco Trevisan authored
      To compute the available height for the layout we're currently using the
      panel position, while this works for the current and default setup, the
      shell may be configured to use a different workarea, so we should rely on
      it to compute the available space, instead of a specific widget.
      
      So get the current monitor index for the current view and use its coordinates
      instead.
      
      Part-of: <!1892>
      f164e086
    • Marco Trevisan's avatar
      WorkspaceBackground: Fully take care of workarea geometry on allocation · f30fa1ad
      Marco Trevisan authored
      The background group is currently allocated taking care of the workarea
      x, y offset but not of its width/height and this may lead to building a
      wrongly sized workspace view when the workarea size is not matching the
      monitor size (like when there are struts set).
      
      So, take care of the difference between the workarea and monitor
      absolute end coordinates to allocate the background scaled content box.
      
      Part-of: <!1892>
      f30fa1ad
    • Florian Müllner's avatar
      status/network: Do not disable on login screen · 28a42da9
      Florian Müllner authored
      We currently disable all network items on both the lock- and login
      screen. While it makes sense to be very restrictive on the lock screen,
      there are some (fringe) use cases for being more permissive on the
      login screen (like remote home directories only accessible via VPN).
      
      There's precedence with the power-off/restart actions to be less
      restrictive on the login screen, and since we started respecting
      the `network-control` polkit action, it's possible to restore the
      old behavior if desired.
      
      Part-of: <!1874>
      28a42da9
    • Florian Müllner's avatar
      sessionMode: Enable networkAgent on login screen · 4440a821
      Florian Müllner authored
      We will soon enable the network sections in the status menu on the
      login screen, so enable the network agent to handle authentication
      requests (like wifi/VPN passwords).
      
      Part-of: <!1874>
      4440a821
    • Florian Müllner's avatar
      status/network: Consider network-control action · d1333cb2
      Florian Müllner authored
      NetworkManager installs a `network-control` polkit action that can
      be used to disallow network configuration, except that we happily
      ignore it. Add it to the conditions that turn a network section
      insensitive.
      
      Part-of: <!1874>
      d1333cb2
    • Florian Müllner's avatar
      status/network: Only list wifi networks that can be activated · d53285d7
      Florian Müllner authored
      Setting up a connection for an Enterprise WPA(2) encrypted wireless
      network requires Settings. That's not available when windows are
      disabled via the session mode, so filter out affected entries.
      
      Part-of: <!1874>
      d53285d7
    • Florian Müllner's avatar
      status/network: Disable modem connection when windows aren't allowed · 25793b9d
      Florian Müllner authored
      The item launches the corresponding Settings panel when activated, which
      doesn't work when windows are disabled by the session mode. Rather than
      failing silently, turn the item insensitive.
      
      Part-of: <!1874>
      25793b9d
    • Carlos Garnacho's avatar
      ci: Add job for pushing coverity reports · 6203668b
      Carlos Garnacho authored
      This job does:
      1. Download the coverity bundle and untar it in a cached location
      2. Build GNOME Shell using clang and the coverity tool
      3. Compress the coverity report
      4. Upload for analysis
      
      In a similar setup to that of Mutter.
      
      Part-of: <!1913>
      6203668b
    • Carlos Garnacho's avatar
      ci: Funnel package list to be built correctly · 37a6434a
      Carlos Garnacho authored
      It was on one hand using multi-line piping (`|`) and trying to
      compensate with \ to escape multiple lines, this lead to:
      
        No match for argument: \
      
      Also, the quoting around pkgconfig() arguments would lead to
      double quoting at the shell level, thus:
      
        No match for argument: 'pkgconfig(gio-2.0)'
      
      Fix both by using multi-line-turns-single-line piping (`>`)
      and dropping the unnecessary quotes.
      
      Part-of: <!1913>
      37a6434a
    • Alexander Mikhaylenko's avatar
      swipeTracker: Use unaccelerated deltas · b156cabd
      Alexander Mikhaylenko authored
      Unaccelerated deltas make sure the gesture works the same regardless of how
      fast the fingers move; this is what we were already doing for scrolling.
      
      Remove the swipe multiplier as the deltas already match scrolling other than
      the 1/10 multiplier Clutter applies to scrolling specifically.
      
      Part-of: <!1763>
      b156cabd
  4. 15 Jul, 2021 4 commits
    • Florian Müllner's avatar
      search: Exclude hidden results from keynav · 20d99c69
      Florian Müllner authored
      Since commit 3fb02843, we no longer skip allocation for
      results that don't fit the width, and give them a 0x0
      allocation instead.
      
      That has the unintended side effect of those children now
      being available to keynav. There are cases where we want
      0-sized actors to be part of the focus chain (e.g. FocusTrap),
      but this isn't one of them, so explicitly exclude 0-sized
      children from keynav.
      
      #4470
      
      Part-of: <!1916>
      20d99c69
    • Jonas Ådahl's avatar
      main: Take over setting signal handlers and changing dir · d265dabe
      Jonas Ådahl authored
      MetaContext isn't doing this for us anymore, so do it ourself.
      
      Part-of: <!1840>
      d265dabe
    • Jonas Ådahl's avatar
      Port to MetaContext · 5acab6c3
      Jonas Ådahl authored
      This ports over gnome-shell and the theme test case to MetaContext,
      instead of the various functions that were available before.
      
      The test case is changed to use the special test context, used to
      construct contexts for testing. It's part of a shared libary separate
      from the main libmutter one.
      
      This enables building mutter tests during CI, as the test framework is
      needed by some of gnome-shell's tests.
      
      Part-of: <!1840>
      5acab6c3
    • Jonas Ådahl's avatar
      st/test-theme: Rename theme context variable · 4340170e
      Jonas Ådahl authored
      We will later get a pointer to a MetaContext, so avoid that future
      naming conflict.
      
      Part-of: <!1840>
      4340170e
  5. 14 Jul, 2021 1 commit
  6. 13 Jul, 2021 4 commits
    • Matej Urbančič's avatar
      Update Slovenian translation · df377cc1
      Matej Urbančič authored
      df377cc1
    • Florian Müllner's avatar
      shellInfo: Don't destroy source on undo · 6995c2fa
      Florian Müllner authored
      Destroying the source from an action callback will result in the
      notification being destroyed twice:
      
       - source.destroy() destroys all its notifications
      
       - a notification destroys itself after an action
         was activated
      
      This results in unwanted log spam when attempting to dispose the
      notification for a second time.
      
      There is actually no good reason for destroying the source explicitly,
      as sources already self-destruct with their last notification.
      
      #4457
      
      Part-of: <!1908>
      6995c2fa
    • Florian Müllner's avatar
      messageTray: Always remove destroyed banners · 1f4eea12
      Florian Müllner authored
      Currently we only mark the banner as removed if it is destroyed
      while in SHOWN or SHOWING state, but not if we're already HIDING
      (for example in response to `NotificationBanner::done-displaying`).
      
      If this happens, we'll try to destroy the notification again at
      the end of the transition, which leads to (harmless but annoying)
      log spam since Notifications were turned into GObjects (that are
      disposed when destroyed).
      
      Address this by always marking destroyed banners as removed, while
      still only triggering a state update while shown (or in the process
      of being shown).
      
      #4457
      
      Part-of: <!1908>
      1f4eea12
    • Daniel Mustieles García's avatar
      Updated Spanish translation · 850d2a33
      Daniel Mustieles García authored
      850d2a33
  7. 11 Jul, 2021 3 commits
  8. 09 Jul, 2021 1 commit
  9. 08 Jul, 2021 4 commits
  10. 07 Jul, 2021 1 commit
    • Jonas Ådahl's avatar
      ci: Bump to F34 · 38d9b35e
      Jonas Ådahl authored
      This bumps both the mutter image to the F34 one, as well as the one used
      for review.
      
      This also bumps ci-templates hashes, so that we can use
      FDO_DISTRIBUTION_PACKAGES without installing weak dependencies.
      
      Part-of: <!1906>
      38d9b35e