Skip to content
Snippets Groups Projects
  1. Aug 22, 2024
  2. Aug 21, 2024
  3. Aug 01, 2024
    • stransky's avatar
      Bug 1904424 [Linux/X11] Don't steal focus on X11 r=emilio a=RyanVM · 07529434
      stransky authored
      The patch comes from https://gitlab.com/redhat/centos-stream/rpms/firefox/-/merge_requests/94
      
      Firefox isn't currently handling window focusing right on X11... There's a few problems:
      
      If no startup id is provided, it tries to get user time from g_get_monotonic_time when there's no guarantee that timestamp is synchronized or even in a compatible unit. This merge request addressed that by dropping the code that uses g_get_monotonic_time entirely, and instead adding a heuristic to synthesize a startup id based on the time of the last user interaction on the display. This makes an assumption that firefox was started as a result of user interaction, which might not always hold true, but it's more likely than not, and is basically the same assumption firefox is already making by trying to use a timestamp of "now" (g_get_monotonic_time) when focusing the window.
      
      If a startup id is provided, it fails to tell gtk to use it when focusing the window because it calls gtk_window_present_with_time with some other random timestamp instead of passing GDK_CURRENT_TIME (which is the magic value that means "use startup id for timestamp"). This commit tries to detect when a startup id is available, and the display is X11, and if so use a timestamp of GDK_CURRENT_TIME.
      
      Differential Revision: https://phabricator.services.mozilla.com/D217174
      07529434
  4. Jul 22, 2024
  5. Jul 18, 2024
  6. Jun 13, 2024
  7. Jul 05, 2024
  8. Aug 21, 2024
  9. Aug 20, 2024
  10. Aug 16, 2024
  11. Aug 14, 2024
    • Sean Feng's avatar
      Bug 1863246 - Make the page that enters BFCache not asking the parent process... · 24196ddc
      Sean Feng authored
      Bug 1863246 - Make the page that enters BFCache not asking the parent process to update the active browsing context r=peterv,dom-core a=RyanVM
      
      Currently, when a page enters BFCache, it updates the parent process
      for the active BC; however, the page that is about to show will do the
      same. These two operations are triggered in different processes with
      different active id, they are racy and problematic.
      
      This patch fixes the above issue by not updating the parent process
      when a page enters BFCache.
      
      This only applies to BFCacheInParent is enabled.
      
      Differential Revision: https://phabricator.services.mozilla.com/D215818
      24196ddc
  12. Aug 07, 2024
  13. Aug 06, 2024
  14. Aug 04, 2024
  15. Jun 28, 2024
  16. Aug 20, 2024
  17. Aug 19, 2024
  18. Aug 09, 2024
  19. Jul 12, 2024
  20. Jul 10, 2024
  21. Aug 19, 2024
  22. Aug 17, 2024
  23. Aug 16, 2024
Loading