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

            Bug ID: 507552
           Summary: In the projects sidebar, the selectable projects don't
                    include nested git repos depending on the order they
                    were opened in
    Classification: Applications
           Product: kate
      Version First 22.12.3
       Reported In:
          Platform: Debian stable
                OS: Linux
            Status: REPORTED
          Severity: minor
          Priority: NOR
         Component: application
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

Created attachment 183570
  --> https://bugs.kde.org/attachment.cgi?id=183570&action=edit
Projects dropdown, depending on order projects are opened in

In the projects sidebar, the selectable projects don't include nested git repos
depending on the order they were opened in.  
I have created a git repo, in which I created multiple git workspaces, which
have different branches checked out. If I open them in the terminal like so:
`kate ./ workspace1/ workspace2/`, workspace1 and workspace2 are not selectable
from the projects dropdown.  
But if I open them like this: `kate workspace1/ workspace2/ ./` all 3 git repos
are selectable from the dropdown.  
The same thing also happens with git submodules.  
The same thing also happens when opening files using the GUI. If a file from
the sub project is opened, before one of the parent project, both appear in the
projects dropdown. If it's done the other way around, only the parent project
appears.


STEPS TO REPRODUCE
1. Take a git project with nested git repos within, or with submodules
2. Open the child repo before the parent repo: both are in the dropdown
3. Open the parent repo before the child repo: only the parent project is in
the dropdown

OBSERVED RESULT
Which projects become available in the projects dropdown depends on the order
they are used if they are nested.

EXPECTED RESULT
All used projects should be available in the dropdown.

SOFTWARE/OS VERSIONS
Operating System: Devuan GNU/Linux 5
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8

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

Reply via email to