Philip-Scott / Notes-up

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

Maximization settings are not remembered #397

Open Obema12 opened 2 years ago

Obema12 commented 2 years ago

Expected Behavior

If I expand the Notes-up to full screen and restart the application, the window should be maximized to full screen.

Current Behavior

After restarting the application does not fully expand to full screen. This can be seen in the corners of the window, which should be straight, or in the top bar, which changes color if the window is actually maximized to full screen.

Steps to Reproduce

  1. Minimize all apps on the screen
  2. Open Notes-up
  3. Expand to full screen
  4. Restart Notes-up

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

~/» G_MESSAGES_DEBUG=all com.github.philip_scott.notes-up
[INFO 10:59:00.999493] Application.vala:142: Notes-Up version: (null)
[INFO 10:59:00.999542] Application.vala:145: Kernel version: 5.18.14-gnu-1
(Notes-Up:155767): Gtk-DEBUG: 10:59:01.066: Connecting to session manager
(Notes-Up:155767): dconf-DEBUG: 10:59:01.067: watch_fast: "/org/notes/" (establishing: 0, active: 0)
(Notes-Up:155767): dconf-DEBUG: 10:59:01.068: watch_established: "/org/notes/" (establishing: 1)
(Notes-Up:155767): dconf-DEBUG: 10:59:01.068: change_fast
(Notes-Up:155767): dconf-DEBUG: 10:59:01.069: change_fast
(Notes-Up:155767): dconf-DEBUG: 10:59:01.071: change_fast
[WARNING 10:59:01.316753] Error loading plugin: libnuspell.so.5: cannot open shared object file: No such file or directory
[WARNING 10:59:01.317026] Error loading plugin: libhspell.so.0: cannot open shared object file: No such file or directory
[WARNING 10:59:01.317248] Error loading plugin: libvoikko.so.1: cannot open shared object file: No such file or directory
[WARNING 10:59:01.317471] Error loading plugin: libaspell.so.15: cannot open shared object file: No such file or directory
[WARNING 10:59:01.320160] Editor.vala:87: enchant error for language: en_US.UTF-8
(Notes-Up:155767): dconf-DEBUG: 10:59:01.325: watch_fast: "/org/gtk/settings/color-chooser/" (establishing: 0, active: 0)
(Notes-Up:155767): dconf-DEBUG: 10:59:01.325: watch_established: "/org/gtk/settings/color-chooser/" (establishing: 1)
(Notes-Up:155767): Gtk-DEBUG: 10:59:01.335: Using GtkColorPickerShell for picking colors
(Notes-Up:155767): dconf-DEBUG: 10:59:01.335: change_fast
(Notes-Up:155767): dconf-DEBUG: 10:59:01.335: change_fast
(process:155779): GLib-GIO-DEBUG: 10:59:01.455: Failed to initialize portal (GNetworkMonitorPortal) for gio-network-monitor: Not using portals
(process:155779): GLib-GIO-DEBUG: 10:59:01.463: _g_io_module_get_default: Found default implementation networkmanager (GNetworkMonitorNM) for ?gio-network-monitor?
(process:155779): GLib-GIO-DEBUG: 10:59:01.615: _g_io_module_get_default: Found default implementation gvfs (GDaemonVfs) for ?gio-vfs?
(process:155779): GLib-GIO-DEBUG: 10:59:01.622: Failed to initialize portal (GPowerProfileMonitorPortal) for gio-power-profile-monitor: Not using portals
(process:155779): GLib-GIO-DEBUG: 10:59:01.623: _g_io_module_get_default: Found default implementation dbus (GPowerProfileMonitorDBus) for ?gio-power-profile-monitor?
(Notes-Up:155767): dconf-DEBUG: 10:59:16.459: sync
~/» 

Screenshots of the Problem

What does it look like now: Снимок экрана от 2022-08-25 11 02 59

How it should look: Снимок экрана от 2022-08-25 11 02 32

Information

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