Skip to content
  1. May 06, 2024
  2. May 05, 2024
  3. May 04, 2024
  4. May 03, 2024
  5. May 02, 2024
  6. May 01, 2024
  7. Apr 30, 2024
  8. Apr 27, 2024
  9. Apr 21, 2024
  10. Apr 19, 2024
  11. Apr 18, 2024
  12. Apr 13, 2024
  13. Apr 07, 2024
    • Guido Günther's avatar
      window: Delay showing default browser dialog · 650105b3
      Guido Günther authored
      The set_parent used to happen in the main window's `show` handler but at
      that point the main window isn't mapped yet under Wayland (as there's no
      buffer attached):
      
        [3694190.560]  -> xdg_toplevel@46.set_parent(nil)
        [3694198.318]  -> xdg_toplevel@53.set_parent(xdg_toplevel@46)
        [3694251.530]  -> wl_surface@48.attach(wl_buffer@60, 0, 0)
      
      Conformant wayland compositors should ignore the `set_parent` in that
      case. Citing the xdg-shell's set_parent() documentation:
      
        > Only mapped surfaces can have child surfaces. Setting a parent which
        > is not mapped is equivalent to setting a null parent. If a surface
        > …
      
      Thus the default browser dialog would appear below the main window (but
      still grabbing all input hence making epiphany look "frozen").
      
      Moving the gtk_window_present() into idle fixes this.
      
      Closes: World/Phosh/phoc#367
      650105b3
  14. Apr 06, 2024
  15. Mar 30, 2024
  16. Mar 27, 2024
  17. Mar 26, 2024