"Custom Font" Size Error
System information
I'm currently running version GNOME Text Editor version 42.2 (Flathub) on Fedora 36. I have also tested the nightly build and the issue still exists.
Text Editor (43.alpha0-52-g8e3883a) Development
Flatpak: yes
GLib: 2.73.2 (2.73.2)
GTK: 4.7.1 (4.7.1)
GtkSourceView: 5.5.1 (5.5.1)
Libadwaita: 1.2.0 (1.2.0)
Enchant2: 2.2.15
gtk-theme-name: Adwaita-empty
GTK_THEME: unset
org.gnome.TextEditor restore-session = true
org.gnome.TextEditor recolor-window = true
org.gnome.TextEditor show-map = false
org.gnome.TextEditor custom-font = 'Monospace 11'
org.gnome.TextEditor show-line-numbers = true [default=false]
org.gnome.TextEditor style-scheme = 'Adwaita-dark' [default='Adwaita']
org.gnome.TextEditor wrap-text = false [default=true]
org.gnome.TextEditor style-variant = 'follow'
org.gnome.TextEditor indent-style = 'space' [default='tab']
org.gnome.TextEditor show-right-margin = false
org.gnome.TextEditor spellcheck = true
org.gnome.TextEditor auto-indent = true
org.gnome.TextEditor use-system-font = true
org.gnome.TextEditor keybindings = 'default'
org.gnome.TextEditor highlight-current-line = false
org.gnome.TextEditor last-save-directory = ''
org.gnome.TextEditor auto-save-delay = uint32 3
org.gnome.TextEditor discover-settings = true
org.gnome.TextEditor enable-snippets = false
org.gnome.TextEditor line-height = 1.2
org.gnome.TextEditor indent-width = -1
org.gnome.TextEditor show-grid = false
org.gnome.TextEditor draw-spaces = @as []
org.gnome.TextEditor right-margin-position = uint32 80
org.gnome.TextEditor tab-width = uint32 4 [default=uint32 8]
Bug information
Steps to reproduce
- In the "Preferences" menu, enable "Custom Font". Note that the default selection is "Monospace 11".
- Change the size of the font to something else using the "-" button (e.g. 10) and click the "Select" button.
Current behaviour
Even though no change to the font name was selected, the custom font selection was changed to whatever was highlighted by default when the "Select Font" dialog was first opened—in my case, "Noto Sans Condensed Thin".
Expected behaviour
Because I never selected another font in the "Select Font" dialog, I expected that the font name would remain as it was and only the font size would change.
Edited by JustALawnGnome7