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

            Bug ID: 455196
           Summary: Cannot open subdirectory of Git repository as project
           Product: kate
           Version: 22.04.2
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: application
          Assignee: kwrite-bugs-n...@kde.org
          Reporter: nyanpas...@tuta.io
  Target Milestone: ---

SUMMARY
When I tell Kate to "Open Folder" and give it a subdirectory of a Git repo, it
treats the entire Git repo as a project, even though I want to only open/search
files within a subdirectory.

STEPS TO REPRODUCE
1. Run `kate git-repo/subdirectory`.
2. Alternatively run `kate`, click File -> Open Folder, and pick a subdirectory
within a Git repo.

OBSERVED RESULT
The Git repo's top-level folder is treated as the project folder. Project-level
find and Quick Open search through far more files than I want.

In my case, the Git repo is https://github.com/void-linux/void-packages, and
when I tell Kate to browse the contents of a single extracted tarball, it
instead tries to search every single Void package's build scripts, plus the
source code of every single project I've cloned/built locally.

EXPECTED RESULT
The folder I passed into Kate is treated as the project folder.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.24.90
KDE Frameworks Version: 5.94.0
Qt Version: 5.15.4
Kernel Version: 5.18.2-zen1-1-zen (64-bit)
Graphics Platform: X11
Processors: 12 × AMD Ryzen 5 5600X 6-Core Processor
Memory: 15.6 GiB of RAM
Graphics Processor: NVIDIA GeForce GT 730/PCIe/SSE2
Manufacturer: Gigabyte Technology Co., Ltd.
Product Name: B550M DS3H

ADDITIONAL INFORMATION

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

Reply via email to