Philip-Scott / Notes-up

Markdown notes editor & manager
GNU General Public License v2.0
620 stars 47 forks source link

Slow scrolling in view mode #398

Open Obema12 opened 2 years ago

Obema12 commented 2 years ago

Expected Behavior

The page scroll speed should be the same in all modes.

Current Behavior

Scrolling speed in view mode is slower than in edit mode.

Steps to Reproduce

  1. Create a note long enough to be able to scroll up and down.
  2. Switch to view mode.
  3. Scroll up and down.

G_MESSAGES_DEBUG=all com.github.philip_scott.notes-up

~/» G_MESSAGES_DEBUG=all com.github.philip_scott.notes-up
[INFO 11:28:15.776166] Application.vala:142: Notes-Up version: (null)
[INFO 11:28:15.776207] Application.vala:145: Kernel version: 5.18.14-gnu-1
(Notes-Up:158160): Gtk-DEBUG: 11:28:15.847: Connecting to session manager
(Notes-Up:158160): dconf-DEBUG: 11:28:15.849: watch_fast: "/org/notes/" (establishing: 0, active: 0)
(Notes-Up:158160): dconf-DEBUG: 11:28:15.850: watch_established: "/org/notes/" (establishing: 1)
(Notes-Up:158160): dconf-DEBUG: 11:28:15.851: change_fast
(Notes-Up:158160): dconf-DEBUG: 11:28:15.852: change_fast
(Notes-Up:158160): dconf-DEBUG: 11:28:15.854: change_fast
[WARNING 11:28:16.093047] Error loading plugin: libnuspell.so.5: cannot open shared object file: No such file or directory
[WARNING 11:28:16.093304] Error loading plugin: libhspell.so.0: cannot open shared object file: No such file or directory
[WARNING 11:28:16.093523] Error loading plugin: libvoikko.so.1: cannot open shared object file: No such file or directory
[WARNING 11:28:16.093742] Error loading plugin: libaspell.so.15: cannot open shared object file: No such file or directory
[WARNING 11:28:16.096343] Editor.vala:87: enchant error for language: en_US.UTF-8
(Notes-Up:158160): dconf-DEBUG: 11:28:16.102: watch_fast: "/org/gtk/settings/color-chooser/" (establishing: 0, active: 0)
(Notes-Up:158160): dconf-DEBUG: 11:28:16.102: watch_established: "/org/gtk/settings/color-chooser/" (establishing: 1)
(Notes-Up:158160): Gtk-DEBUG: 11:28:16.112: Using GtkColorPickerShell for picking colors
(Notes-Up:158160): dconf-DEBUG: 11:28:16.112: change_fast
(Notes-Up:158160): dconf-DEBUG: 11:28:16.112: change_fast
(process:158172): GLib-GIO-DEBUG: 11:28:16.224: Failed to initialize portal (GNetworkMonitorPortal) for gio-network-monitor: Not using portals
(process:158172): GLib-GIO-DEBUG: 11:28:16.233: _g_io_module_get_default: Found default implementation networkmanager (GNetworkMonitorNM) for ?gio-network-monitor?
(process:158172): GLib-GIO-DEBUG: 11:28:16.395: _g_io_module_get_default: Found default implementation gvfs (GDaemonVfs) for ?gio-vfs?
(process:158172): GLib-GIO-DEBUG: 11:28:16.397: Failed to initialize portal (GPowerProfileMonitorPortal) for gio-power-profile-monitor: Not using portals
(process:158172): GLib-GIO-DEBUG: 11:28:16.398: _g_io_module_get_default: Found default implementation dbus (GPowerProfileMonitorDBus) for ?gio-power-profile-monitor?
(WebKitWebProcess:158191): GLib-GIO-DEBUG: 11:28:19.859: _g_io_module_get_default: Found default implementation gvfs (GDaemonVfs) for ‘gio-vfs’
(WebKitWebProcess:158191): GLib-GIO-DEBUG: 11:28:19.989: Failed to initialize portal (GPowerProfileMonitorPortal) for gio-power-profile-monitor: Not using portals
(WebKitWebProcess:158191): GLib-GIO-DEBUG: 11:28:19.991: _g_io_module_get_default: Found default implementation dbus (GPowerProfileMonitorDBus) for ‘gio-power-profile-monitor’
(Notes-Up:158160): dconf-DEBUG: 11:28:49.681: sync
~/» 

Information

Archlinux with latest updates Pantheon Shell Notes-up version 2.0.6-1