jendrikseipp / rednotebook

RedNotebook is a cross-platform journal
https://rednotebook.app
GNU General Public License v2.0
477 stars 109 forks source link

Rednotebook Flatpak #763

Open lesdelc opened 2 weeks ago

lesdelc commented 2 weeks ago

Describe the bug

To Reproduce

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior

Screenshots

Versions:

Log output when reproducing bug

lesdelc commented 2 weeks ago

Describe the bug Rednotebook was installed with Flatpak from Archlinux. After the install Rednotebook was run and loaded. The app was poorly displayed by Wayland. I tried running under X.org and the program displayed with a clear font that was readable.

To Reproduce See command line from running Flatpak: . (rednotebook:2): Gtk-CRITICAL **: 09:52:40.413: gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed

1. Go to '...'

I ran RedNoteBook from flatpak run app.rednotebook.RedNotebook after the Flatpak install. Here is the error I discovered: from the command line:

  1. See error (rednotebook:2): Gtk-CRITICAL **: 09:52:40.413: gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed

Expected behavior

Screenshots RednoteBook

Versions:

* RedNotebook version : 2.33

* Operating system and version: Linux -  Archlinux

Log output when reproducing bug

(rednotebook:2): Gtk-CRITICAL **: 09:52:40.413: gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed

Log output when reproducing bug:

flatpak run app.rednotebook.RedNotebook:

bash: Flatpak: command not found [lesdelc@boo ~]$ Flatpak run app.rednotebook.RedNotebook bash: Flatpak: command not found [lesdelc@boo ~]$ flatpak run app.rednotebook.RedNotebook INFO Using GtkSourceView 3.0 Adding /app/lib/python3.11/site-packages to sys.path INFO Available versions of the WebKit2 namespace: ['4.1'] INFO Loaded version of the WebKit2 namespace: 4.1 INFO Locale path: /usr/share/locale 2024-07-02 13:02:39,025 INFO Writing log to file "/home/lesdelc/.rednotebook/rednotebook.log" 2024-07-02 13:02:39,025 INFO System encoding: utf-8 2024-07-02 13:02:39,025 INFO Language code: en_CA 2024-07-02 13:02:39,046 INFO Spell checking languages: ['en_AU', 'en_BS', 'en_BZ', 'en_CA', 'en_GB', 'en_GH', 'en_IE', 'en_IL', 'en_IN', 'en_JM', 'en_MW', 'en_NA', 'en_NZ', 'en_PH', 'en_TT', 'en_US', 'en_ZA', 'en_ZW'] 2024-07-02 13:02:39,048 INFO Spell checking dictionaries: [('en_AU', ), ('en_BS', ), ('en_BZ', ), ('en_CA', ), ('en_GB', ), ('en_GH', ), ('en_IE', ), ('en_IL', ), ('en_IN', ), ('en_JM', ), ('en_MW', ), ('en_NA', ), ('en_NZ', ), ('en_PH', ), ('en_TT', ), ('en_US', ), ('en_ZA', ), ('en_ZW', )] 2024-07-02 13:02:39,268 INFO Using LibYAML 2024-07-02 13:02:39,269 INFO Connected Signals: [<Signals.SIGHUP: 1>, <Signals.SIGINT: 2>, <Signals.SIGQUIT: 3>, <Signals.SIGABRT: 6>, <Signals.SIGTERM: 15>, <Signals.SIGTSTP: 20>] 2024-07-02 13:02:39,273 INFO Running in portable mode: False 2024-07-02 13:02:39,273 INFO First Start: False 2024-07-02 13:02:39,273 INFO RedNotebook version: 2.33 2024-07-02 13:02:39,276 INFO System info: machine: x86_64, platform: Linux-6.9.4-1-cachyos-x86_64-with-glibc2.38, processor: , python_version: 3.11.9, release: 6.9.4-1-cachyos, system: Linux, GTK: (3, 24, 42), Glib: (2, 80, 2), PyGObject: (3, 48, 2), YAML: 6.0, WebKit2: (2, 44, 2) 2024-07-02 13:02:39,366 DEBUG Default font: Cantarell 11 2024-07-02 13:02:39,366 DEBUG Default size: 11.0 libEGL warning: wayland-egl: could not open /dev/dri/renderD128 (No such file or directory) MESA: error: ZINK: failed to choose pdev libEGL warning: egl: failed to create dri2 screen 2024-07-02 13:02:39,495 INFO Cloud ignore list: ['filter', 'these', 'comma', 'separated', 'words', 'and', '#tags'] 2024-07-02 13:02:39,495 INFO Cloud include list: ['mtv', 'spam', 'work', 'job', 'play'] 2024-07-02 13:02:39,495 INFO Cloud special ignore regexes: ('file://.', 'https?://.') 2024-07-02 13:02:39,495 DEBUG Start compiling regexes: ignore, include and special 2024-07-02 13:02:39,495 DEBUG Finished compiling 2024-07-02 13:02:39,499 DEBUG Tray icon visible: False

(rednotebook:2): Gtk-CRITICAL **: 13:02:39.499: gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed 2024-07-02 13:02:39,500 INFO Opening journal at '/home/lesdelc/.rednotebook/data' 2024-07-02 13:02:39,500 DEBUG Starting to load files in dir "/home/lesdelc/.rednotebook/data" 2024-07-02 13:02:39,500 DEBUG Loading file "/home/lesdelc/.rednotebook/data/2023-10.txt" 2024-07-02 13:02:39,500 DEBUG Loading file "/home/lesdelc/.rednotebook/data/2023-11.txt" 2024-07-02 13:02:39,500 DEBUG Loading file "/home/lesdelc/.rednotebook/data/2024-06.txt" 2024-07-02 13:02:39,501 DEBUG Loading file "/home/lesdelc/.rednotebook/data/2024-07.txt" 2024-07-02 13:02:39,501 DEBUG Finished loading files in dir "/home/lesdelc/.rednotebook/data" 2024-07-02 13:02:39,533 DEBUG Update the cloud 2024-07-02 13:02:39,533 DEBUG Background color: rgb(255,255,255) 2024-07-02 13:02:39,533 DEBUG Foreground color: rgb(0,0,0) 2024-07-02 13:02:39,534 DEBUG Cloud updated 2024-07-02 13:02:39,535 INFO Last backup was made 2 days ago

-Les-

jendrikseipp commented 2 weeks ago

Thanks for the logs! Not much to act on unfortunately, though.