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

            Bug ID: 518299
           Summary: Table view unusable during background scan: selection
                    cleared and scroll position resets
    Classification: Applications
           Product: digikam
      Version First 8.8.0
       Reported In:
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Database-Scan
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

SUMMARY
While the database is being scanned (large collection, partially stored over
NFS), the "Table" view becomes practically unusable.

In this state, it is not possible to reliably select items or maintain scroll
position.

I suspect this is a regression, although I do not frequently use the Table
view, so I cannot pinpoint the exact version where the behavior changed.

STEPS TO REPRODUCE
1. Start digiKam and let it scan the database (automatic on startup in my case)
2. Switch to "Table" view
3. Use any collection view (Albums, Tags, Labels, Dates, Timeline, Map)
4. In the table:
   a. Try selecting one or more items
   b. Scroll vertically or horizontally (e.g., to the middle of the table)

OBSERVED RESULT
a. The selection is cleared almost immediately (within ~1 second)
b. The scroll position resets:
   - typically to the start
   - or to the end if Ctrl+End was pressed previously

This appears to be related to model/view updates triggered by the background
scan, possibly causing the view to be reset repeatedly.

EXPECTED RESULT
a. Selection should remain stable until explicitly changed by the user
b. Scroll position should remain stable

NOTES
- The issue only affects "Table" view
- Other views ("Thumbnails", "Preview", "Map") behave correctly
- The problem occurs consistently during background scanning
- The collection is large and partially stored over NFS (may or may not be
relevant)

SOFTWARE/OS VERSIONS
Linux: Debian GNU/Linux forky
Linux kernel: Linux 6.19.8+deb14-amd64
GNOME: 50
Linux/KDE Plasma: kde not installed
KDE Plasma Version: kde not installed
KDE Frameworks Version: kde not installed
Qt Version: 5.15.17+dfsg-7+b1

Display: wayland server: X.org v: 1.21.1.21 with: Xwayland v: 24.1.9
    compositor: gnome-shell v: 49.5 driver: gpu: amdgpu display-ID: 0



ADDITIONAL INFORMATION

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

Reply via email to