[dolphin] [Bug 413659] Option "Open folders during drag operations" has no effect on folders panel

Werner Lehmann bugzilla_noreply at kde.org
Sun Feb 5 13:47:11 GMT 2023


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

Werner Lehmann <wl at dm17.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|1                           |0
         Resolution|FIXED                       |---
             Status|RESOLVED                    |REPORTED

--- Comment #7 from Werner Lehmann <wl at dm17.com> ---
guimarcalsilva, I am changing status to REPORTED as per your suggestion because
on Dolphin 22.12.2, currently on Fedora 37, the issue is reproducible
unchanged. I am not sure which additional information I could provide over the
issue description. I already tried to keep it as succinct as possible. 

However, I did the next best thing and looked at the Dolphin source code on
Github. The navigation option is bound to GeneralSettings::autoExpandFolders().
It affects two things:

1. The auto-activation delay in views/dolphinview.cpp:
    const int delay = GeneralSettings::autoExpandFolders() ? 750 : -1;
    m_container->controller()->setAutoActivationDelay(delay);

2. Same thing in panels/places/placespanel.cpp:
    if (GeneralSettings::autoExpandFolders()) {
        setDragAutoActivationDelay(750);
    } else {
        setDragAutoActivationDelay(0);
    }

And that's it for references to this option. Note how it uses -1 versus 0
between both code locations. Not sure if that is intended. On the other hand,
panels/folders/folderspanel.cpp has this hardcoded:
        m_controller->setAutoActivationDelay(750);

So there you have it. The folders pane does not respect this setting as far as
I can tell.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the kfm-devel mailing list