Bug 39982

Summary: wrong undo when pasting onto selection
Product: [Applications] kate Reporter: John Firebaugh <jfirebaugh>
Component: kwriteAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: halla
Priority: NOR    
Version First Reported In: 4.0   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description John Firebaugh 2002-03-31 21:20:22 UTC
(*** This bug was imported into bugs.kde.org ***)

Package:           kwrite
Version:           4.0 (using KDE 3.0.0 )
Severity:          normal
Installed from:    compiled sources
Compiler:          gcc version 2.95.4 20011002 (Debian prerelease)
OS:                Linux (ppc) release 2.4.18-powerpc
OS/Compiler notes: 

Actual Behavior:
Select some text. Copy it. Select some more text. Paste. Undo. Result: the text you pasted is removed but the previous text and selection isn't restored. You have to undo again to get that.

Expected:
The first undo should do three things: remove the pasted text restore the previous text and restore the previous selection.

(Submitted via bugs.kde.org)
(Called from KBugReport dialog)
Comment 1 John Firebaugh 2002-06-15 02:23:46 UTC
Thank you for your bug report.
The bug that you reported has been identified and has been fixed in the
latest development (CVS) version of KDE. The bug report will be closed.
Comment 2 Halla Rempt 2018-10-21 12:42:11 UTC
Git commit 55c0c6d2c7aa2e5ef40ed090e33187f59c60db0a by Boudewijn Rempt.
Committed on 21/10/2018 at 12:41.
Pushed by rempt into branch 'master'.

Cache the thumbnails for the recent files widget

This also sets the device pixel ratio on the image files so
hidpi screens are better supported.

M  +36   -35   libs/ui/KisWelcomePageWidget.cpp
M  +5    -3    libs/ui/KisWelcomePageWidget.h

https://commits.kde.org/krita/55c0c6d2c7aa2e5ef40ed090e33187f59c60db0a
Comment 3 Halla Rempt 2018-10-22 09:42:00 UTC
Eep, wrong bug number.