Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consistent crash upon expanding the annotation type menu #1351

Open
yue-dongchen opened this issue Jul 7, 2024 · 3 comments
Open

Consistent crash upon expanding the annotation type menu #1351

yue-dongchen opened this issue Jul 7, 2024 · 3 comments
Labels
bug Something isn't working need info More info needed to reproduce or fix

Comments

@yue-dongchen
Copy link

Describe the bug
The annotation dialogue cannot be dismissed. The application then crashes.

To Reproduce
Steps to reproduce the behavior: (see below for screen recording)

  1. Invoke the annotation dialogue (click on an existing annotation, or select and create a new one).
  2. Click on the annotation type selector menu. Irrelevant whether you switch to another annotation type (i.e. colours/underline) or collapse the menu without switching.
  3. Click outside the annotation dialogue and observe that it cannot be dismissed.
  4. Click either of the top-right two buttons (delete, "more options"), or press the "escape" key.
  5. The app crashes.

Expected behavior
That the app does not crash, regardless of whether the annotation type has been changed (in both cases a crash occurs).

Screen recording (12 s, 1.8 MB)
Screencast from 2024-07-07 22-26-56.webm

Version:

  • Foliate version: 3.1.1
  • OS/Distribution and version: Ubuntu 24.04
  • Desktop environment: GNOME 46
  • Installation method: Flatpak

Additional context

(com.github.johnfactotum.Foliate:2): com.github.johnfactotum.Foliate-WARNING **: 22:30:40.510: Gio.IOErrorEnum: GDBus.Error:org.gtk.GDBus.UnmappedGError.Quark._g_2dio_2derror_2dquark.Code1: Service 'dbus:org.freedesktop.Tracker3.Miner.Files' not found in Tracker policy
getURIFromTracker@resource:///com/github/johnfactotum/Foliate/library.js:83:60
get@resource:///com/github/johnfactotum/Foliate/library.js:121:42
getBookFromIdentifier@resource:///com/github/johnfactotum/Foliate/library.js:169:36
getBook@resource:///com/github/johnfactotum/Foliate/library.js:166:21
activate@resource:///com/github/johnfactotum/Foliate/library.js:860:63
activate@resource:///com/github/johnfactotum/Foliate/library.js:386:18
_init/GLib.MainLoop.prototype.runAsync/</<@resource:///org/gnome/gjs/modules/core/overrides/GLib.js:266:34
@yue-dongchen yue-dongchen added the bug Something isn't working label Jul 7, 2024
@johnfactotum
Copy link
Owner

Can you get a backtrace? This is likely a GTK bug.

@johnfactotum johnfactotum added the need info More info needed to reproduce or fix label Jul 14, 2024
@yue-dongchen
Copy link
Author

Thanks for the reply. I will try.

@ouyama-sa
Copy link

ouyama-sa commented Aug 20, 2024

I am having the same issue: here's the terminal output.

I am on Arch Linux, GNOME v46.4 on Wayland. My installation was from the official Arch repository, foliate 3.1.1-1.

Screencast.from.2024-08-20.12-13-45.webm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working need info More info needed to reproduce or fix
Projects
None yet
Development

No branches or pull requests

3 participants