https://bugs.kde.org/show_bug.cgi?id=502280

            Bug ID: 502280
           Summary: KCoreDirLister fails to update for paths containing
                    square brackets
    Classification: Frameworks and Libraries
           Product: frameworks-kio
           Version: git master
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kio-bugs-n...@kde.org
          Reporter: ad.liu....@gmail.com
                CC: kdelibs-b...@kde.org
  Target Milestone: ---

SUMMARY
Qt 6.8.3 (in
https://github.com/qt/qtbase/commit/5e936b60fc921e21b8153a83113886a1de333b57)
introduced a breaking change in QUrl::fromLocalPath, which now escapes square
brackets.

This causes KCoreDirLister to not update for paths containing square brackets,
as local URLs in its cache are not escaped, but local URLs from KDirWatch are.

STEPS TO REPRODUCE
1. dolphin . &
2. touch '[test].txt'
3. note the file size in dolphin (0)
4. cat >> '[test].txt'

OBSERVED RESULT
File size doesn't update.

EXPECTED RESULT
File size should be 4.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.3.80
KDE Frameworks Version: 6.13.0
Qt Version: 6.8.3
Kernel Version: 6.12.21-1-lts (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 5600H with Radeon Graphics
Memory: 16 GiB of RAM (15.0 GiB usable)
Graphics Processor: AMD Radeon Graphics

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to