[dolphin] [Bug 447215] New: Unable to rename the last file in details view

Kishore Gopalakrishnan bugzilla_noreply at kde.org
Sun Dec 19 05:49:54 GMT 2021


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

            Bug ID: 447215
           Summary: Unable to rename the last file in details view
           Product: dolphin
           Version: 21.12.0
          Platform: Other
                OS: Other
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: view-engine: details mode
          Assignee: dolphin-bugs-null at kde.org
          Reporter: kishore96 at gmail.com
                CC: kfm-devel at kde.org
  Target Milestone: ---

SUMMARY
On one user account on my machine, Dolphin cannot rename the last file in any
folder when the vertical scrollbar is shown (i.e. the list of files is not
small enough to completely be shown in the window). When the last displayed
file is selected, pressing F2 does nothing. Right-click > rename also does not
do anything.

STEPS TO REPRODUCE
1. Navigate to any folder which has enough items that the list of files in
Details View is larger than the height of the window.
2. Enable Details View (Ctrl+3)
3. Select the last folder
4. Press F2
5. Right-click on the folder and try to rename

OBSERVED RESULTS
Usually, when we try to rename a file, a textbox is shown inline. This does not
happen in the last two steps above.

EXPECTED RESULTS
Renaming should work.

SOFTWARE VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.23.4
KDE Frameworks Version: 5.89.0
Qt Version: 5.15.2
Kernel Version: 5.15.10-arch1-1 (64-bit)
Graphics Platform: X11
Processors: 8 × AMD Ryzen 5 3500U with Radeon Vega Mobile Gfx
Memory: 21.5 GiB of RAM
Graphics Processor: AMD Radeon Vega 8 Graphics

ADDITIONAL INFORMATION
I cannot reproduce this in a fresh user account. I tried toggling various
settings for Dolphin, but I haven't been able to figure out a configuration
that allows me to reproduce this in a new user account. However, I am reporting
this since I have been able to do a git bisect to isolate the relevant commit.

Reverting the following commit fixes the issue for me:

commit 7908aff3b5ebe4484d391c1fc4797e9dae2300b2
Author: Eugene Popov <popov895 at ukr.net>
Date:   Mon Jul 12 00:31:06 2021 +0300

    [DetailsView] Improve zooming

    Under some conditions, when zooming, only the size of the icon is changed,
but not the entire item, which visually doesn't look good. The main idea of
this MR is that when scaling the whole element should be resized, not just the
icon, so I came up with some zoom levels for the main icon sizes. With this
commit, zooming will resize the entire element, even if the resizing of the
icon doesn't affect the size of the entire element.

 src/kitemviews/kstandarditemlistwidget.cpp | 18 ++++++++++++++++--
 1 file changed, 16 insertions(+), 2 deletions(-)

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


More information about the kfm-devel mailing list