Skip to content

Freeze after opening EPUB on Ubuntu 26 (Wayland) – WebKit crash after first page #1670

@Peter-Fic

Description

@Peter-Fic

Describe the bug
Foliate freezes after opening a book. The first page is displayed correctly, but no further content is rendered. The application becomes unresponsive when trying to navigate (scroll, next page, resize window).


To Reproduce
Steps to reproduce the behavior:

  1. Launch Foliate (Flatpak version)
  2. Open an EPUB file
  3. First page loads normally
  4. Try to scroll or go to the next page
  5. Application stops rendering further content (freeze)

Expected behavior
The book should render continuously, allowing smooth scrolling and page navigation without freezing.


Screenshots
(Not included — app freezes on first page)


Version:

  • Foliate version: 3.3.0 (Flatpak)
  • OS/Distribution: Ubuntu 26 (Wayland session)
  • Desktop environment: GNOME (Wayland)
  • Installation method: Flatpak (Flathub)

Additional context

  • The issue appears to be related to WebKitGTK crashing:

    Oh-No-WebKit-Crashed, bug of bugs!
    
  • Running with:

    WEBKIT_DISABLE_COMPOSITING_MODE=1
    

    does not resolve the issue.

  • Running with:

    GDK_BACKEND=x11
    

    fails in Flatpak environment.

  • Other applications (e.g. Xournal++) work correctly with stylus and rendering.

  • Problem is reproducible with multiple EPUB files.

This seems related to Wayland + WebKitGTK rendering issues in newer Ubuntu versions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions