#3449·fresh

Inconsistent state of View|Line Numbers and View|Line Wrap menus between open documents after a toggle

Author: sjsepan3Created Sep 29, 2026Updated Sep 30, 2026
Labelsbugreproduced

Inconsistent state of View|Line Numbers and View|Line Wrap menus between open documents after a toggle

Description

When more then one document is open (regardless of whether they are the same type or different), toggling either View|Line Numbers or View|Line Wrap menus will update the menu, the state of the current document tab and Settings. But it will not update the state of the non-current tab, and (when made current) clicking the View menu will show the original state). The menus and document states are being set correctly on app start.

Expected

1a) Toggling View|Line Numbers will update the current document, Settings and config.json; it will also update other open documents when shown, and the View|Line Numbers menu will show the change when other documents are current. 1b) Toggling View|Line Wrap will update the current document, Settings and config.json; it will also update other open documents when shown, and the View|Line Wrap menu will show the change when other documents are current. 2) When either option set via Edit|Settings and Saved, the state of the current document tab is updated, the config.json value is saved, and the View menu is correct. When the other ocument is activated, the state of the other document is updated, and the View menu item is also reflecting the updated state.

Observed

1a) Toggling View|Line Numbers updates the current document, Settings and config.json; it does not update other open documents when shown, and the View|Line Numbers menu does not show the change when other documents are current. 1a) Toggling View|Line Wrap updates the current document, Settings and config.json; it does not update other open documents when shown, and the View|Line Wrap menu does not show the change when other documents are current. 2) When either option set via Edit|Settings and Saved, the state of the current document tab is updated, the config.json value is saved, and the View menu is correct. But the state of the other document is not updated, and when active, the View menu item is also reflecting the original state. Note: this issue is different in behavior from #3442

Fresh

v0.5.2 (current) v0.5.1 (I remember running into this intermittently in prior versions, but it was hard to pin down and I didn't pursue it) v0.4.x (")

System

System:
  Kernel: 7.0.0-34-generic arch: x86_64 bits: 64 compiler: gcc v: 13.3.0 clocksource: tsc
  Desktop: Cinnamon v: 6.6.9 tk: GTK v: 3.24.41 wm: Muffin v: 6.6.3 vt: 7 dm: LightDM v: 1.30.0
    Distro: Linux Mint 22.3 Zena base: Ubuntu 24.04 noble
Machine:
  Type: Desktop System: Dell product: OptiPlex 5040 v: N/A serial: <superuser required> Chassis:
    type: 3 serial: <superuser required>
  Mobo: Dell model: 0R790T v: A00 serial: <superuser required> part-nu: 06BA
    uuid: <superuser required> UEFI-[Legacy]: Dell v: 1.2.7 date: 01/15/2016
Battery:
  Device-1: hidpp_battery_0 model: Logitech M570 serial: <filter> charge: 25% rechargeable: yes
    status: discharging
CPU:
  Info: quad core model: Intel Core i5-6500 bits: 64 type: MCP smt: <unsupported> arch: Skylake-S
    rev: 3 cache: L1: 256 KiB L2: 1024 KiB L3: 6 MiB
  Speed (MHz): avg: 3386 high: 3424 min/max: 800/3600 cores: 1: 3424 2: 3399 3: 3299 4: 3424
    bogomips: 25599
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: NVIDIA GP108 [GeForce GT 1030] driver: nvidia v: 580.178.04 arch: Pascal pcie:
    speed: 8 GT/s lanes: 4 ports: active: none off: HDMI-A-1 empty: DVI-D-1 bus-ID: 01:00.0
    chip-ID: 10de:1d01 class-ID: 0300
  Display: x11 server: X.Org v: 21.1.11 with: Xwayland v: 23.2.6 driver: X: loaded: nvidia
    unloaded: fbdev,modesetting,nouveau,vesa gpu: nvidia,nvidia-nvswitch display-ID: :0 screens: 1
  Screen-1: 0 s-res: 3840x2160 s-dpi: 162 s-size: 602x341mm (23.70x13.43") s-diag: 692mm (27.24")
  Monitor-1: HDMI-A-1 mapped: HDMI-0 note: disabled model: LG (GoldStar) Ultra HD
    serial: <filter> res: 3840x2160 hz: 60 dpi: 163 size: 600x340mm (23.62x13.39")
    diag: 690mm (27.2") modes: max: 3840x2160 min: 640x480
  API: EGL v: 1.5 hw: drv: nvidia platforms: device: 0 drv: nvidia device: 2 drv: swrast gbm:
    drv: nvidia surfaceless: drv: nvidia x11: drv: nvidia inactive: wayland,device-1
  API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: nvidia mesa v: 580.178.04 glx-v: 1.4
    direct-render: yes renderer: NVIDIA GeForce GT 1030/PCIe/SSE2
  API: Vulkan v: 1.3.275 layers: 5 surfaces: xcb,xlib device: 0 type: discrete-gpu driver: N/A
    device-ID: 10de:1d01 device: 1 type: cpu driver: N/A device-ID: 10005:0000
Audio:
  Device-1: Intel 100 Series/C230 Series Family HD Audio vendor: Dell driver: snd_hda_intel
    v: kernel bus-ID: 00:1f.3 chip-ID: 8086:a170 class-ID: 0403
  Device-2: NVIDIA GP108 High Definition Audio driver: snd_hda_intel v: kernel pcie:
    speed: 8 GT/s lanes: 4 bus-ID: 01:00.1 chip-ID: 10de:0fb8 class-ID: 0403
  API: ALSA v: k7.0.0-34-generic status: kernel-api
  Server-1: PipeWire v: 1.0.5 status: active with: 1: pipewire-pulse status: active
    2: wireplumber status: active 3: pipewire-alsa type: plugin
Network:
  Device-1: Intel Ethernet I219-V vendor: Dell driver: e1000e v: kernel port: N/A bus-ID: 00:1f.6
    chip-ID: 8086:15b8 class-ID: 0200
  IF: enp0s31f6 state: up speed: 1000 Mbps duplex: full mac: <filter>
  IF-ID-1: virbr0 state: up speed: 10000 Mbps duplex: unknown mac: <filter>
  IF-ID-2: vnet0 state: unknown speed: 10000 Mbps duplex: full mac: <filter>
Drives:
  Local Storage: total: 2.96 TiB used: 474.81 GiB (15.7%)
  ID-1: /dev/nvme0n1 vendor: Crucial model: CT2000P310SSD8 size: 1.82 TiB speed: 63.2 Gb/s
    lanes: 4 tech: SSD serial: <filter> fw-rev: VACR011 temp: 39.9 C scheme: GPT
  ID-2: /dev/sda vendor: SanDisk model: SD8SBAT-256G-1006 size: 238.47 GiB speed: 6.0 Gb/s
    tech: SSD serial: <filter> fw-rev: 1006 temp: 17.0 C scheme: GPT
  ID-3: /dev/sdb vendor: Western Digital model: WDS100T2B0A-00SM50 size: 931.51 GiB
    speed: 6.0 Gb/s tech: SSD serial: <filter> fw-rev: 20WD temp: 25.0 C scheme: MBR
Partition:
  ID-1: / size: 1.79 TiB used: 474.81 GiB (25.9%) fs: ext4 dev: /dev/nvme0n1p1
Swap:
  ID-1: swap-1 type: file size: 20 GiB used: 4 KiB (0.0%) priority: -1 file: /swapfile
USB:
  Hub-1: 1-0:1 info: hi-speed hub with single TT ports: 16 rev: 2.0 speed: 480 Mb/s lanes: 1
    chip-ID: 1d6b:0002 class-ID: 0900
  Device-1: 1-5:2 info: 816820090226 type: mass storage driver: usb-storage interfaces: 1
    rev: 2.0 speed: 480 Mb/s lanes: 1 power: 500mA chip-ID: 3207:0300 class-ID: 0806 serial: <filter>
  Device-2: 1-6:3 info: American Power Conversion Uninterruptible Supply type: HID
    driver: hid-generic,usbhid interfaces: 1 rev: 1.1 speed: 1.5 Mb/s lanes: 1 power: 2mA
    chip-ID: 051d:0002 class-ID: 0300 serial: <filter>
  Device-3: 1-8:4 info: Lite-On SK-9020 keyboard type: keyboard,HID driver: hid-generic,usbhid
    interfaces: 2 rev: 1.1 speed: 1.5 Mb/s lanes: 1 power: 100mA chip-ID: 04ca:004f class-ID: 0300
  Device-4: 1-9:5 info: Logitech Unifying Receiver type: keyboard,mouse,HID
    driver: logitech-djreceiver,usbhid interfaces: 3 rev: 2.0 speed: 12 Mb/s lanes: 1 power: 98mA
    chip-ID: 046d:c52b class-ID: 0300
  Hub-2: 2-0:1 info: super-speed hub ports: 10 rev: 3.0 speed: 5 Gb/s lanes: 1 chip-ID: 1d6b:0003
    class-ID: 0900
Sensors:
  System Temperatures: cpu: 45.0 C pch: 65.5 C mobo: N/A gpu: nvidia temp: 40 C
  Fan Speeds (rpm): N/A gpu: nvidia fan: 87%
Repos:
  Packages: pm: dpkg pkgs: 3382
  No active apt repos in: /etc/apt/sources.list
  Active apt repos in: /etc/apt/sources.list.d/google-earth-pro.list
    1: deb [arch=amd64] http: //dl.google.com/linux/earth/deb/ stable main
  Active apt repos in: /etc/apt/sources.list.d/jonaski-strawberry-noble.list
    1: deb [signed-by=/etc/apt/keyrings/jonaski-strawberry-noble.gpg] https: //ppa.launchpadcontent.net/jonaski/strawberry/ubuntu noble main
  Active apt repos in: /etc/apt/sources.list.d/microsoft-prod.list
    1: deb [arch=amd64,arm64,armhf signed-by=/usr/share/keyrings/microsoft-prod.gpg] https: //packages.microsoft.com/ubuntu/24.04/prod noble main
  Active apt repos in: /etc/apt/sources.list.d/nodesource.list
    1: deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https: //deb.nodesource.com/node_20.x nodistro main
  Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list
    1: deb https: //fastly.linuxmint.io zena main upstream import backport
    2: deb http: //mirror.cogentco.com/pub/linux/ubuntu noble main restricted universe multiverse
    3: deb http: //mirror.cogentco.com/pub/linux/ubuntu noble-updates main restricted universe multiverse
    4: deb http: //mirror.cogentco.com/pub/linux/ubuntu noble-backports main restricted universe multiverse
    5: deb http: //security.ubuntu.com/ubuntu/ noble-security main restricted universe multiverse
  Active apt repos in: /etc/apt/sources.list.d/oracle-virtualbox.list
    1: deb [arch=amd64 signed-by=/usr/share/keyrings/oracle-virtualbox-2016.gpg] https: //download.virtualbox.org/virtualbox/debian noble contrib
  Active apt repos in: /etc/apt/sources.list.d/paint.software.list
    1: deb [signed-by=/usr/share/keyrings/paint.software.gpg] https: //univers4craft.github.io/paint.software stable main
  Active apt repos in: /etc/apt/sources.list.d/tomtomtom-conky-manager-noble.list
    1: deb [signed-by=/etc/apt/keyrings/tomtomtom-conky-manager-noble.gpg] https: //ppa.launchpadcontent.net/tomtomtom/conky-manager/ubuntu noble main
  Active apt repos in: /etc/apt/sources.list.d/vscodium.list
    1: deb https: //download.vscodium.com/debs vscodium main
  Active apt repos in: /etc/apt/sources.list.d/extrepo_librewolf.sources
    1: deb [arch=amd64 arm64] https: //repo.librewolf.net librewolf main
Info:
  Memory: total: 16 GiB available: 15.54 GiB used: 8.73 GiB (56.2%)
  Processes: 290 Power: uptime: 3h 38m states: freeze,mem,disk suspend: deep wakeups: 0
    hibernate: platform Init: systemd v: 255 target: graphical (5) default: graphical
  Compilers: gcc: 13.3.0 Client: Unknown python3.12 client inxi: 3.3.34