| Summary: | Renaming a file does not update window title and makes "Reload" fail | ||
|---|---|---|---|
| Product: | [Applications] gwenview | Reporter: | Daniel Hahler <kde-bugzilla> |
| Component: | general | Assignee: | Gwenview Bugs <gwenview-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | adaptee, germano.massullo, greg, lists, nate, thomasdn, Vdragon.Taiwan |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Ubuntu | ||
| OS: | Linux | ||
| Latest Commit: | https://commits.kde.org/gwenview/afbad38a6de7a519a4aeabba42f8b48cdc2e3d4c | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
|
Description
Daniel Hahler
2010-08-25 15:52:29 UTC
*** Bug 303150 has been marked as a duplicate of this bug. *** *** Bug 341524 has been marked as a duplicate of this bug. *** reproducible with 14.40.0 pre and 5.0.0 pre, see bug 341524 Append a simpler reproduce instruction frum Bug #341524 Steps to Reproduce: 1. Open a picture in Gwenview 2. Press F2 to rename the picture 3. Press F5 to reload picture Actual Results: Gwenview said failed to load the <path of original picture> Expected Results: Gwenview should load <path of renamed picture> rather than the <path of original picture> Reproducible: Always *** Bug 345980 has been marked as a duplicate of this bug. *** *** Bug 364104 has been marked as a duplicate of this bug. *** *** Bug 285867 has been marked as a duplicate of this bug. *** Git commit afbad38a6de7a519a4aeabba42f8b48cdc2e3d4c by Henrik Fehlauer, on behalf of Peter Mühlenpfordt. Committed on 06/12/2017 at 18:15. Pushed by rkflx into branch 'Applications/17.12'. Update selection after renaming a file Summary: After a file is renamed, update selection in `ContextManager` to reference new filename. Without this patch the window title is not updated after rename an a reload with F5 fails. Test Plan: 1. Open a picture in Gwenview (single image view mode) 2. Press F2 and rename the picture -> window title should be updated to new name 3. Press F5 to reload picture -> image should still be viewed Reviewers: ngraham, rkflx Reviewed By: ngraham, rkflx Differential Revision: https://phabricator.kde.org/D9161 M +1 -0 app/fileopscontextmanageritem.cpp M +3 -1 lib/contextmanager.h https://commits.kde.org/gwenview/afbad38a6de7a519a4aeabba42f8b48cdc2e3d4c |