Summary: | Git icons appear only if a new Dolphin tab is opened | ||
---|---|---|---|
Product: | [Applications] dolphin | Reporter: | Aldo Latino <aldo.latino> |
Component: | plugins: git | Assignee: | Sebastian Dörner <sebastian> |
Status: | REOPENED --- | ||
Severity: | normal | CC: | aldo.latino, kfm-devel, nkrasheninnikov, p.r.worrall |
Priority: | NOR | Keywords: | qt6 |
Version: | 24.02.0 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/system/dolphin/-/commit/b9024361fa922d9cd423aa05721a337a59b98229 | Version Fixed In: | 24.05 |
Sentry Crash Report: |
Description
Aldo Latino
2024-03-10 06:53:44 UTC
Cannot confirm, works as expected on current master. KDE Plasma Version: 6.1.0 Qt Version: 6.6.3 Graphic platform: X11 I close this bug because, after the Nikolai's comment, I tested the plugin in a brand new installation and it works as expected. So the problem is in another place, perhaps a conflict with some other setting. (In reply to Aldo Latino from comment #2) > I close this bug because, after the Nikolai's comment, I tested the plugin > in a brand new installation and it works as expected. So the problem is in > another place, perhaps a conflict with some other setting. https://bugs.kde.org/show_bug.cgi?id=450944 looks same, may also be closed (In reply to Nikolai Krasheninnikov from comment #3) > https://bugs.kde.org/show_bug.cgi?id=450944 looks same, may also be closed Sure, it's the same "bug" report. In the meantime, I found an interesting thing. In Dolphin, if you activate the option to show your home as starting directory when you open a new instance of Dolphin, the green check marks don't appear over the files in a directory under Git control. If you setup another directory (e.g, /home/user/Desktop), the green check marks appear. And they appear also if you leave active the first option to remember last opened directory and tabs. In other words, if in dolphinrc config file we have these options together: HomeUrl=/home/aldo/any-folder RememberOpenedTabs=false the green check marks appear. If we have this option only without "HomeUrl" RememberOpenedTabs=false the green check marks don't appear. Can you confirm this behavior? (In reply to Aldo Latino from comment #4) > In the meantime, I found an interesting thing. In Dolphin, if you activate > the option to show your home as starting directory when you open a new > instance of Dolphin, the green check marks don't appear over the files in a > directory under Git control. If you setup another directory (e.g, > /home/user/Desktop), the green check marks appear. And they appear also if > you leave active the first option to remember last opened directory and tabs. > > In other words, if in dolphinrc config file we have these options together: > HomeUrl=/home/aldo/any-folder > RememberOpenedTabs=false > the green check marks appear. > > If we have this option only without "HomeUrl" > RememberOpenedTabs=false > the green check marks don't appear. > > Can you confirm this behavior? Cannot reproduce :( What I am trying is: 1. open a Dolphin, enable SVN and GIT plugins 2. in the same instance check save state from last time on startup 3. close Dolphin, open new instance, badges are there I also tried modifying dolphinrc as described, nothing changed, badges are there. Maybe we closed this one too quickly. I am on current master. Going further in this investigation, I noticed that, if I open Dolphin directly in a folder different from my home, the green check marks appear regularly. If I open Dolphin directly in my home directory, they don't appear. So it's not a matter of what option is chosen in Dolphin preferences. The situation is that home folder must not be opened immediately when you open Dolphin. Steps to reproduce: 1) open Dolphin 2) make sure you have activated the option to open the last directory when you close Dolphin 3) close all tabs, leaving only a single tab 4) go to your home directory 4) close Dolphin 5) reopen Dolphin (it should be in your home directory) 6) go to a directory under Git control 7) the green check marks are not displayed Now another test: 1) open Dolphin 2) make sure you have activated the option to open the last directory when you close Dolphin 3) close all tabs, leaving only a single tab 4) go to any directory different from your home (for example go to Desktop) 5) close Dolphin 6) open Dolphin (it should show your last folder, for example, your Desktop) 7) go to a directory under Git control 8) the green check marks are displayed This is what happens in my installation. Cannot reproduce, always works as expected Reopen? (In reply to Nikolai Krasheninnikov from comment #7) > Cannot reproduce, always works as expected > Reopen? If it works correctly in your computer, the problem is in my installation. So this is not a bug, I think. :-) (In reply to Aldo Latino from comment #8) > (In reply to Nikolai Krasheninnikov from comment #7) > > Cannot reproduce, always works as expected > > Reopen? > > If it works correctly in your computer, the problem is in my installation. > So this is not a bug, I think. :-) So the second one is a duplicate and can be also closed. I can reproduce this bug so reopening. It does seem to be triggered if you navigate to the git-controlled folder from your home folder, for example: 1. configure Dolphin to "show state from last time" when it is launched 2. navigate to a git-controlled folder 3. close and reopen Dolphin Result: it shows the git-controlled folder from 2 and the git badges are shown 4. click Home under Places and then Back to go back to the git folder Result: the git badges are not shown Operating System: Arch Linux KDE Plasma Version: 6.1.4 KDE Frameworks Version: 6.5.0 Qt Version: 6.7.2 Graphics Platform: Wayland I had this bug, as you've read, but not today. Even after following all the steps, the bug is no longer present in my installation. |