1. 24 May, 2022 1 commit
    • Jonas Dreßler's avatar
      layout: Add a property to tell whether we're running on a smartphone · 6ef660f5
      Jonas Dreßler authored
      We're going to adjust a few things in the shell UI to allow running
      gnome-shell on smartphones. To do this, it will be necessary to detect
      whether we're running on a phone, so add a property to layoutManager
      that tells us.
      
      Note that the heuristics to detect phones here is obviously quite
      subjective and a bit tricky, right now it's simply checking whether the
      primary monitor size is smaller than 500x1000, which works fairly well
      and excludes smaller tablets. Given that the whole web seems to rely
      only on checking the screen size in pixels, this seems to be not as bad
      as one might think.
      6ef660f5
  2. 18 May, 2022 3 commits
    • Florian Müllner's avatar
      lockScreen: Extend modal grab to entire uiGroup · 3e7ce18d
      Florian Müllner authored
      Main.pushModal() used to ensure a compositor grab, but didn't
      take an input grab. That changed when porting to ClutterGrab,
      so by limiting the grab to the shield/dialog, it is no longer
      possible to access top bar menus when the screen is locked.
      
      To fix that, take the grab on the whole uiGroup so that the top
      bar is included.
      
      #5470
      
      Part-of: <!2298>
      3e7ce18d
    • Maksym Hazevych's avatar
      dateMenu: Align time strings in the World Clocks section · 3290ef4e
      Maksym Hazevych authored and Marge Bot's avatar Marge Bot committed
      The problem is that " 9:59 AM" (notice the space at the beginning) and
      "12:59 AM" strings, when centred, look misaligned —
      strings padded with a space look off to the right by nearly
      half a character. This happens because the font feature "tnum",
      used to make numbers monospace, doesn't work on spaces.
      
      The commit overcomes this by aligning time labels to the end.
      However, this won't work for locales with AM/PM strings of different
      lengths, so they are aligned to the start instead to minimise offset.
      
      It's too complex to know whether the used locale has different
      AM/PM string lengths. Instead, every time the time changes, it
      determines whether all the time labels have the same amount of characters.
      
      Fixes #5438
      
      Part-of: <GNOME/gnome-shell!2294>
      3290ef4e
    • AsciiWolf's avatar
      Update Czech translation · 0f4c6435
      AsciiWolf authored and Administrator's avatar Administrator committed
      0f4c6435
  3. 17 May, 2022 1 commit
  4. 16 May, 2022 2 commits
  5. 11 May, 2022 2 commits
  6. 07 May, 2022 1 commit
  7. 06 May, 2022 2 commits
  8. 05 May, 2022 2 commits
  9. 04 May, 2022 3 commits
  10. 02 May, 2022 2 commits
  11. 29 Apr, 2022 5 commits
  12. 28 Apr, 2022 2 commits
  13. 26 Apr, 2022 1 commit
  14. 25 Apr, 2022 1 commit
  15. 24 Apr, 2022 4 commits
  16. 23 Apr, 2022 3 commits
  17. 22 Apr, 2022 1 commit
    • Sebastian Keller's avatar
      shell/window-preview-layout: Fix memory leaks · 8c40b48a
      Sebastian Keller authored and Marge Bot's avatar Marge Bot committed
      The WindowInfo allocated when adding a window was not getting free'd
      when the window was getting removed again or the layout was getting
      disposed. Also the hash table in which the WindowInfos are stored was
      not getting free'd on destruction either. Both could result in small
      leaks after closing the overview.
      
      Fixes: #5238
      Part-of: <!2256>
      8c40b48a
  18. 21 Apr, 2022 4 commits