Summary: | Resize columns is slow; caused by saving view-properties (?) | ||
---|---|---|---|
Product: | [Applications] dolphin | Reporter: | Torben Schiffke <hoerbert> |
Component: | view-engine: details mode | Assignee: | Dolphin Bug Assignee <dolphin-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | chrno-sphered, frank78ac, lee295012 |
Priority: | NOR | ||
Version: | 16.12.2 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/dolphin/5ce01c864f4ab9848a54ee982f6ac18e63f04773 | Version Fixed In: | 15.08.1 |
Sentry Crash Report: |
Description
Torben Schiffke
2015-08-27 12:41:01 UTC
For me this is reproducible in a kubuntu-VM (15.10 (Wily) Beta) with the same version of dolphin. Thanks for the bug report! I can confirm this. It would probably be better to save the new settings to disk with a small delay, such that multiple writes to the same file in quick succession could be avoided. Proposed fix at https://git.reviewboard.kde.org/r/124984/ It waits until the mouse button is released before the new column width is written to disk. Git commit 5ce01c864f4ab9848a54ee982f6ac18e63f04773 by Frank Reininghaus. Committed on 03/09/2015 at 18:26. Pushed by freininghaus into branch 'Applications/15.08'. Only store modified columns widths after the mouse button was released This prevents that the new widths are written to disk multiple times in quick succession, which can make column resizing quite slow. REVIEW: 351846 FIXED-IN: 15.08.1 M +2 -0 src/kitemviews/kitemlistheader.cpp M +7 -0 src/kitemviews/kitemlistheader.h M +8 -0 src/kitemviews/private/kitemlistheaderwidget.cpp M +7 -0 src/kitemviews/private/kitemlistheaderwidget.h M +3 -5 src/views/dolphinview.cpp M +1 -1 src/views/dolphinview.h http://commits.kde.org/dolphin/5ce01c864f4ab9848a54ee982f6ac18e63f04773 |