Skip to content

GUI fails to find broken symlinks that CLI detects correctly #1844

@simonbcn

Description

@simonbcn

Bug Description

The GUI (krokiet) fails to find broken symbolic links that the CLI (czkawka_cli) correctly detects.

Steps to Reproduce

  1. Run CLI search for broken symlinks:
   czkawka_cli symlinks -d /home/juan/.config

Result: Found 9 invalid symlinks ✓

  1. Open krokiet GUI
  2. Select "Symlinks" tab
  3. Add /home/juan/.config as search directory
  4. Click "Search"
    Result: Found 0 invalid symlinks ✗

Expected Behavior

GUI should find the same 9 broken symlinks that CLI detects.

Actual Behavior

GUI finds 0 broken symlinks.

CLI Output (Working)

Found 9 invalid symlinks.
"/home/juan/.config/alacritty"          "../.mydotfiles/com.ml4w.hyprlandstarter/.config/alacritty"             Non Existent File
"/home/juan/.config/dunst"              "../.mydotfiles/com.ml4w.hyprlandstarter/.config/dunst"         Non Existent File
"/home/juan/.config/hypr"               "../.mydotfiles/com.ml4w.hyprlandstarter/.config/hypr"          Non Existent File
"/home/juan/.config/kitty"              "../.mydotfiles/com.ml4w.hyprlandstarter/.config/kitty"         Non Existent File
"/home/juan/.config/ml4w"               "../.mydotfiles/com.ml4w.hyprlandstarter/.config/ml4w"          Non Existent File
"/home/juan/.config/rofi"               "../.mydotfiles/com.ml4w.hyprlandstarter/.config/rofi"          Non Existent File
"/home/juan/.config/waybar"             "../.mydotfiles/com.ml4w.hyprlandstarter/.config/waybar"                Non Existent File
"/home/juan/.config/wlogout"            "../.mydotfiles/com.ml4w.hyprlandstarter/.config/wlogout"               Non Existent File
"/home/juan/.config/mozilla/firefox/ezioo5ep.default-release/lock"              "127.0.1.1:+10416"              Non Existent File

Environment

  • OS: Arch Linux
  • Desktop: KDE Plasma (Wayland)
  • krokiet version: 11.0.1 (9e40abe U 2026-02-20)
  • czkawka_cli version: 11.0.1

GUI Configuration

The GUI was using the default preset (Preset 0) with the same search path as CLI.

config_general.json:

{
  "default_preset": 0,
  "preset_names": [
    "Preset 1",
    "Preset 2",
    "Preset 3",
    "Preset 4",
    "Preset 5",
    "Preset 6",
    "Preset 7",
    "Preset 8",
    "Preset 9",
    "Preset 10",
    "CLI Folders"
  ],
  "window_width": 2552,
  "window_height": 925,
  "language": "es-ES",
  "dark_theme": true,
  "show_only_icons": false,
  "settings_load_windows_size_at_startup": true,
  "settings_load_tabs_sizes_at_startup": true,
  "settings_limit_lines_of_messages": true,
  "manual_application_scale": 1.0,
  "use_manual_application_scale": false,
  "play_audio_on_scan_completion": true
}

config_preset_0.json (relevant settings)

{
  "included_paths": [
    "/home/juan/.config"
  ],
  "excluded_paths": [
    "/dev",
    "/proc",
    "/snap",
    "/sys"
  ],
  "excluded_items": "*/.git/*,*/node_modules/*,*/lost+found/*,*/Trash/*,*/.Trash-*/*",
  "recursive_search": true,
  "use_cache": true,
  "ignore_other_file_systems": false
}

Additional Notes

  • Both CLI and GUI are using the exact same search path: /home/juan/.config
  • Recursive search is enabled in the preset
  • The invalid_symlink column configuration exists in the preset, suggesting the feature should work
  • GUI language is set to Spanish (es-ES), but this shouldn't affect symlink detection
  • All symlinks point to relative paths (../...). Could this be related to path resolution differences between CLI and GUI?

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions