Bug 510883

Summary: Initially empty ledger panel shows a closed account upon re-start.
Product: [Applications] kmymoney Reporter: RaidonShigetoki
Component: generalAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: REPORTED ---    
Severity: minor    
Priority: NOR    
Version First Reported In: 5.2.1   
Target Milestone: ---   
Platform: Mint (Ubuntu based)   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description RaidonShigetoki 2025-10-21 19:40:37 UTC
SUMMARY


STEPS TO REPRODUCE
1. Ensure that there are active and closed accounts.
2. Empty ledger form by closing all displayed accounts.
3. Restart the app
4. Go to the ledger form.

OBSERVED RESULT
It keeps bringing up a closed account (only one) and shows its transactions. I tried it few times and it popped up the same account consistently. And the option to hide closed accounts was set to ON.

When I tried to open up one or few active accounts the ledger form kept them all upon restart without any problem. So the workaround is very simple is to keep at least one active account in the ledger opened. 

EXPECTED RESULT
If the ledger form is empty it shall remain empty upon restart.

I saw Bug 391453 from 2018 mentioning similar issue but it did not work for me. So I decided to submit it again.

SOFTWARE/OS VERSIONS
System:
  Kernel: 6.14.0-33-generic arch: x86_64 bits: 64 compiler: gcc v: 13.3.0 clocksource: tsc
  Desktop: Cinnamon v: 6.4.8 tk: GTK v: 3.24.41 wm: Muffin v: 6.4.1 vt: 7 dm: LightDM v: 1.30.0
    Distro: Linux Mint 22.2 Zara base: Ubuntu 24.04 noble
Machine:
  Type: Desktop System: CyberPowerPC product: GamingPC v: N/A serial: <superuser required>
  Mobo: ASUSTeK model: Z790 GAMING WIFI7 v: Rev 1.xx serial: <superuser required>
    part-nu: CPPC-SYSTEM-US uuid: <superuser required> UEFI: American Megatrends v: 1820
    date: 05/14/2025
CPU:
  Info: 20-core (8-mt/12-st) model: Intel Core i7-14700KF bits: 64 type: MST AMCP smt: enabled
    arch: Raptor Lake rev: 1 cache: L1: 1.8 MiB L2: 28 MiB L3: 33 MiB
  Speed (MHz): avg: 842 high: 1100 min/max: 800/5500:5600:4300 cores: 1: 800 2: 800 3: 800 4: 800
    5: 800 6: 800 7: 952 8: 800 9: 800 10: 1100 11: 1072 12: 1076 13: 900 14: 800 15: 900 16: 800
    17: 800 18: 800 19: 800 20: 800 21: 800 22: 800 23: 800 24: 800 25: 800 26: 800 27: 800 28: 800
    bogomips: 191385
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: NVIDIA AD106 [GeForce RTX 4060 Ti] vendor: ZOTAC driver: nvidia v: 580.95.05
    arch: Lovelace pcie: speed: 5 GT/s lanes: 8 ports: active: none off: HDMI-A-1
    empty: DP-1,DP-2,DP-3 bus-ID: 01:00.0 chip-ID: 10de:2803 class-ID: 0300
  Device-2: Logitech HD Pro Webcam C920 driver: snd-usb-audio,uvcvideo type: USB rev: 2.0
    speed: 480 Mb/s lanes: 1 bus-ID: 1-10.3:7 chip-ID: 046d:082d class-ID: 0102 serial: <filter>
  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: nv_platform,nvidia,nvidia-nvswitch display-ID: :0
    screens: 1
  Screen-1: 0 s-res: 3840x2160 s-dpi: 139 s-size: 702x400mm (27.64x15.75") s-diag: 808mm (31.81")
  Monitor-1: HDMI-A-1 mapped: HDMI-0 note: disabled model: LG (GoldStar) HDR 4K serial: <filter>
    res: 3840x2160 hz: 60 dpi: 140 size: 697x392mm (27.44x15.43") diag: 806mm (31.7") modes:
    max: 3840x2160 min: 640x480
  API: EGL v: 1.5 hw: drv: nvidia nouveau drv: nvidia platforms: device: 0 drv: nvidia device: 1
    drv: nouveau device: 2 drv: swrast gbm: drv: nvidia surfaceless: drv: nvidia x11: drv: nvidia
    inactive: wayland
  API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: nvidia mesa v: 580.95.05 glx-v: 1.4
    direct-render: yes renderer: NVIDIA GeForce RTX 4060 Ti/PCIe/SSE2
Audio:
  Device-1: Intel Raptor Lake High Definition Audio vendor: ASUSTeK driver: snd_hda_intel v: kernel
    bus-ID: 00:1f.3 chip-ID: 8086:7a50 class-ID: 0403
  Device-2: NVIDIA vendor: ZOTAC driver: snd_hda_intel v: kernel pcie: speed: 16 GT/s lanes: 8
    bus-ID: 01:00.1 chip-ID: 10de:22bd class-ID: 0403
  Device-3: Logitech HD Pro Webcam C920 driver: snd-usb-audio,uvcvideo type: USB rev: 2.0
    speed: 480 Mb/s lanes: 1 bus-ID: 1-10.3:7 chip-ID: 046d:082d class-ID: 0102 serial: <filter>
  API: ALSA v: k6.14.0-33-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: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet vendor: ASUSTeK RTL8111H
    driver: r8169 v: kernel pcie: speed: 2.5 GT/s lanes: 1 port: 4000 bus-ID: 06:00.0
    chip-ID: 10ec:8168 class-ID: 0200
  IF: eno1 state: up speed: 1000 Mbps duplex: full mac: <filter>
  Device-2: MEDIATEK vendor: AzureWave driver: mt7925e v: kernel pcie: speed: 5 GT/s lanes: 1
    port: N/A bus-ID: 07:00.0 chip-ID: 14c3:7925 class-ID: 0280
  IF: wlp7s0 state: down mac: <filter>
Bluetooth:
  Device-1: IMC Networks Wireless_Device driver: btusb v: 0.8 type: USB rev: 2.1 speed: 480 Mb/s
    lanes: 1 bus-ID: 1-14:8 chip-ID: 13d3:3602 class-ID: e001 serial: <filter>
  Report: hciconfig ID: hci0 rfk-id: 0 state: down bt-service: enabled,running rfk-block:
    hardware: no software: yes address: <filter>
RAID:
  Hardware-1: Intel Volume Management Device NVMe RAID Controller Intel driver: vmd v: 0.6
    port: N/A bus-ID: 00:0e.0 chip-ID: 8086:a77f rev: class-ID: 0104
Drives:
  Local Storage: total: 1.82 TiB used: 612.65 GiB (32.9%)
  ID-1: /dev/nvme0n1 vendor: Western Digital model: WD Blue SN580 2TB size: 1.82 TiB
    speed: 63.2 Gb/s lanes: 4 tech: SSD serial: <filter> fw-rev: 281050WD temp: 39.9 C scheme: GPT
Partition:
  ID-1: / size: 1.79 TiB used: 612.65 GiB (33.4%) fs: ext4 dev: /dev/nvme0n1p2
  ID-2: /boot/efi size: 511 MiB used: 6.1 MiB (1.2%) fs: vfat dev: /dev/nvme0n1p1
Swap:
  ID-1: swap-1 type: file size: 2 GiB used: 439.2 MiB (21.4%) priority: -2 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-2:2 info: ASUSTek AURA LED Controller type: HID driver: hid-generic,usbhid
    interfaces: 2 rev: 2.0 speed: 12 Mb/s lanes: 1 power: 16mA chip-ID: 0b05:19af class-ID: 0300
    serial: <filter>
  Hub-2: 1-10:3 info: Realtek RTS5411 Hub ports: 4 rev: 2.1 speed: 480 Mb/s lanes: 1
    chip-ID: 0bda:5411 class-ID: 0900
  Device-1: 1-10.2:5 info: INSTANT cyberpowerpc mouse type: mouse,keyboard
    driver: hid-generic,usbhid interfaces: 2 rev: 1.1 speed: 12 Mb/s lanes: 1 power: 100mA
    chip-ID: 30fa:1440 class-ID: 0300
  Device-2: 1-10.3:7 info: Logitech HD Pro Webcam C920 type: video,audio
    driver: snd-usb-audio,uvcvideo interfaces: 4 rev: 2.0 speed: 480 Mb/s lanes: 1 power: 500mA
    chip-ID: 046d:082d class-ID: 0102 serial: <filter>
  Device-3: 1-10.4:9 info: Logitech Logitech Mechanical keyboard type: keyboard,HID
    driver: hid-generic,usbhid interfaces: 3 rev: 2.0 speed: 12 Mb/s lanes: 1 power: 250mA
    chip-ID: 046d:c341 class-ID: 0300 serial: <filter>
  Hub-3: 1-11:4 info: Genesys Logic Hub ports: 4 rev: 2.0 speed: 480 Mb/s lanes: 1 power: 100mA
    chip-ID: 05e3:0608 class-ID: 0900
  Hub-4: 1-13:6 info: Genesys Logic Hub ports: 4 rev: 2.0 speed: 480 Mb/s lanes: 1 power: 100mA
    chip-ID: 05e3:0608 class-ID: 0900
  Device-1: 1-14:8 info: IMC Networks Wireless_Device type: bluetooth driver: btusb interfaces: 3
    rev: 2.1 speed: 480 Mb/s lanes: 1 power: 100mA chip-ID: 13d3:3602 class-ID: e001 serial: <filter>
  Hub-5: 2-0:1 info: super-speed hub ports: 9 rev: 3.1 speed: 20 Gb/s lanes: 2 chip-ID: 1d6b:0003
    class-ID: 0900
  Hub-6: 2-9:2 info: Realtek Hub ports: 4 rev: 3.0 speed: 5 Gb/s lanes: 1 chip-ID: 0bda:0411
    class-ID: 0900
Sensors:
  System Temperatures: cpu: 31.0 C mobo: N/A gpu: nvidia temp: 40 C
  Fan Speeds (rpm): N/A gpu: nvidia fan: 0%
Repos:
  Packages: 2280 pm: dpkg pkgs: 2266 pm: flatpak pkgs: 14
  No active apt repos in: /etc/apt/sources.list
  Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list
    1: deb http: //packages.linuxmint.com zara main upstream import backport
    2: deb http: //archive.ubuntu.com/ubuntu noble main restricted universe multiverse
    3: deb http: //archive.ubuntu.com/ubuntu noble-updates main restricted universe multiverse
    4: deb http: //archive.ubuntu.com/ubuntu noble-backports main restricted universe multiverse
    5: deb http: //security.ubuntu.com/ubuntu/ noble-security main restricted universe multiverse
  No active apt repos in: /etc/apt/sources.list.d/steam-beta.list
  Active apt repos in: /etc/apt/sources.list.d/steam-stable.list
    1: deb [arch=amd64,i386 signed-by=/usr/share/keyrings/steam.gpg] https: //repo.steampowered.com/steam/ stable steam
    2: deb-src [arch=amd64,i386 signed-by=/usr/share/keyrings/steam.gpg] https: //repo.steampowered.com/steam/ stable steam
  Active apt repos in: /etc/apt/sources.list.d/signal-desktop.sources
    1: deb [arch=amd64] https: //updates.signal.org/desktop/apt xenial main
Info:
  Memory: total: 16 GiB available: 15.4 GiB used: 2.83 GiB (18.4%)
  Processes: 454 Power: uptime: 7h 9m 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: Cinnamon v: 6.4.8 inxi: 3.3.34

ADDITIONAL INFORMATION