johnfactotum / foliate

Read e-books in style
https://johnfactotum.github.io/foliate/
GNU General Public License v3.0
6.37k stars 292 forks source link

Can't open preferences from library #1044

Closed VlctM closed 1 year ago

VlctM commented 1 year ago

Describe the bug I can open preferences when viewing a book, but can't from the library. Both places work in master branch. There's also a Gtk-CRITICAL error "_gtk_css_corner_value_get_y: assertion 'corner->class == &GTK_CSS_VALUE_CORNER' failed" only when i open menu from the library and only in gtk4 branch, but i think it's not related to my issue. I'm not sure if they are the same option. From what i see in the code one is viewer.preferences, the other app.preferences, and in the main branch there's no viewer.preferences. But then i think they shouldn't have the same label.

Screenshots lib 2023_06_08_21_22_33F 2023_06_08_21_22_36F

Version: