Bug 450944 - Dolphin git plugin doesn't show the files status badges until you open a new tab
Summary: Dolphin git plugin doesn't show the files status badges until you open a new tab
Status: RESOLVED FIXED
Alias: None
Product: dolphin
Classification: Applications
Component: plugins: git (show other bugs)
Version: 21.12.2
Platform: Manjaro Linux
: NOR minor
Target Milestone: ---
Assignee: Sebastian Dörner
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-02-28 01:27 UTC by Hosameldin
Modified: 2024-04-23 10:13 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In: 24.05
Sentry Crash Report:


Attachments
a picture shows two split screens, one with the files badges and other is without them. (34.11 KB, image/png)
2022-02-28 01:27 UTC, Hosameldin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hosameldin 2022-02-28 01:27:03 UTC
Created attachment 147178 [details]
a picture shows two split screens, one with the files badges and other is without them.

SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. Enable the git plugin go to Settings > Configure Dolphin... > Services.
2. Open Dolphin and navigate to a git directory.


OBSERVED RESULT
The badges don't appear (99% of the time), and the right-click menu doesn't show the plugin-related options.
Open a new tab (or split-screen), and see the badge appear again in the newly opened window and also the related options.

EXPECTED RESULT
When opening a new instance of Dolphin and going to a git directory, the badges should appear.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 5.24.2
(available in About System)
KDE Plasma Version: 5.24.2
KDE Frameworks Version: 5.91.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Comment 1 Hosameldin 2022-02-28 23:50:58 UTC
> Open a new tab (or split-screen), and see the badge appear again in the newly opened window and also the related options.

I think the accurate description is this when opening a new Dolphin window and the location happens to be a git folder, it shows the badges normally. This could happen whether you open Dolphin from a git folder location, a new tab, or a split-screen. When opening Dolphin from a non-git location, the issue appears.
Comment 2 Aldo Latino 2024-04-07 16:59:52 UTC
(In reply to Hosameldin from comment #1)
> > Open a new tab (or split-screen), and see the badge appear again in the newly opened window and also the related options.
> 
> I think the accurate description is this when opening a new Dolphin window
> and the location happens to be a git folder, it shows the badges normally.
> This could happen whether you open Dolphin from a git folder location, a new
> tab, or a split-screen. When opening Dolphin from a non-git location, the
> issue appears.

In my installation this problem occurs when Dolphin is opened from my home folder. If Dolphin is opened showing any other folder, I see the badges in a Git-controlled directory.