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

            Bug ID: 426495
           Summary: Kate is showing project only if .kateproject file is
                    opened in Kate
           Product: kate
           Version: 20.04.1
          Platform: Fedora RPMs
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: application
          Assignee: kwrite-bugs-n...@kde.org
          Reporter: nikunjbhat...@gmail.com
  Target Milestone: ---

SUMMARY
Kate is not auto-detecting .kateproject file I am browsing in Filesystem
Browser sidebar panel. If there is .kateproject file in a folder and that
folder is already open in Filesystem Browser then Kate should auto-detect the
.kateproject file and add the current folder as a project in the Projects
panel.

STEPS TO REPRODUCE
1. Open a folder/directory in Filesystem Browser
2. Create/save a .kateproject file in that folder
3. Close and reopen Kate
4. Navigate to the same folder in Filesystem Browser (if not already open)
where the .kateproject file was created/saved. Now the folder should get added
to the Projects panel as a project but it is not getting added.
5. Open the .kateproject file. Now the folder is added as a project in Projects
panel.

OBSERVED RESULT
The folder is only detected as a project after its .kateproject file is opened
in Kate. Is it happening because I haven't added .kateproject file in the
folder's Git repo? I haven't, and I think it should not matter, Kate should
show the folder in Projects panel regardless of whether the .kateproject file
is added to Git repo or not.

EXPECTED RESULT
Kate should auto-detect .kateproject file from curretly opened folder in
Filesystem Browser and add that folder as a project in the Projects panel.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora 32
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.70.0
Qt Version: 5.14.2

ADDITIONAL INFORMATION
Suggestion: Instead of creating .kateproject file in the folders of the
projects, these should be maintained somewhere in ~/.config folder of currently
logged in user. (There are lots of such configuration files being created by
different software or requirements in project folders which are not main parts
of the projects.) Or provide options to the user to save and load .kateproject
file from (1) a ~/.config/.... folder, and (2) project/repository folder.

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

Reply via email to