Summary: | Kate block selection regressions | ||
---|---|---|---|
Product: | [Applications] kate | Reporter: | Nicolas Bigaouette <nbigaouette> |
Component: | general | Assignee: | KWrite Developers <kwrite-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | lueck, vivo75+kde |
Priority: | NOR | ||
Version First Reported In: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Nicolas Bigaouette
2010-03-04 22:19:20 UTC
$ kate --version Qt: 4.6.0 KDE: 4.4.1 (KDE 4.4.1) Kate: 3.4.1 compiled from sources Block selection works, Archlinux problem? kate --version Qt: 4.6.2 KDE Development Platform: 4.4.1 (KDE 4.4.1) Kate: 3.4.1 I just tried with a clean ~/.kde4. I cannot paste a copied column. Something even weirder: I can sometimes delete a selected column, sometimes not. It seems to depend on what I select. I think I just narrowed it down. If I select starting from the lower-left or upper right, I cannot delete. If I select starting from the upper-left or lower-right, it works: I can delete. Same thing with copy pasting. Can you reproduce that? (In reply to comment #2) > kate --version > Qt: 4.6.2 > KDE Development Platform: 4.4.1 (KDE 4.4.1) > Kate: 3.4.1 > > I just tried with a clean ~/.kde4. I cannot paste a copied column. Something > even weirder: I can sometimes delete a selected column, sometimes not. It > seems to depend on what I select. > > I think I just narrowed it down. If I select starting from the lower-left or > upper right, I cannot delete. Confirmed, konsole output is: kate(16783)/Kate KateLayoutCache::relayoutLines: start 2147483647 before end 0 > If I select starting from the upper-left or > lower-right, it works: I can delete. > Confirmed. > Same thing with copy pasting. Can you reproduce that? Yes, nice catch! Thanks. SVN commit 1099633 by pletourn: Fix block selection BUG:229454 M +4 -8 katedocument.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1099633 SVN commit 1099634 by pletourn: Fix block selection CCBUG:229454 M +4 -8 katedocument.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1099634 This editor and it's devels really rock! Tank you kate guys! I'm rebuilding kdelibs right now. Will report back soon. Thanx! ;) Excellent, it seems fixed! Thanx Pascal ;) I'd like to reopen this since not everything is fixed. They are other regressions present. Two I see right away: 1) When pasting in block mode, the cursor ends-up on the right of the pasted text, while previously it was on the left. 2) I want to replace a column by another one. I copy the column I want, then select the one to replace, making sure the selection ends at the top of the selection. When I paste, the pasted column appears one character to the right of what it should be. For example, I want to replace the column containing "0"s: psi_000^{n+1} psi_100^{n+1} psi_200^{n+1} psi_300^{n+1} psi_010^{n+1} ... with a colum containing "1"s: psi_001^{n+1} psi_101^{n+1} psi_201^{n+1} psi_301^{n+1} psi_011^{n+1} ... Selecting the "0"s colum, the pasting another column previously copied over it ends up as: psi_00^1{n+1} psi_10^1{n+1} psi_20^1{n+1} psi_30^1{n+1} psi_01^1{n+1} ... Those are the one I just hit (again), there might be others... The problem 2) only appears when I select the "0"s column from the lower left and make my way up to the upper right. It does work as expected when going from lower right to upper left. 3) Another one: -Select a single word in block mode -Copy it and paste it -Press "ctrl+left" to go the begining of that word -Press "down" to lower the cursor. What it should do: The cursor should be one line lower and one character _left_ of the first character of the word. What it does: The cursor is actually one character to much on the left. If I paste again, the word is one character on the left then it should be. SVN commit 1102153 by pletourn: Fix block selection BUG:229454 M +2 -0 katedocument.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1102153 SVN commit 1102154 by pletourn: Fix block selection CCBUG:229454 M +2 -0 katedocument.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1102154 I could not reproduce 2) and 3), thanx Pascal. But 1) is still there: 1) When pasting in block mode, the cursor ends-up on the right of the pasted text, while previously it was on the left. Because of this, when you paste a block and want to go one line down and paste again, you need to re-align the cursor. Previously you just had to press "down" to lower the cursor one line and it was already at the right place. Reopening since issue 1) is still present... *** Bug 164413 has been marked as a duplicate of this bug. *** Dominik bring my best greetings to Pascal, I've just tested the git kate version and Bug 164413 is fixed, also the whole column selection stuff seem more consistent. Thanks a lot for testing Francesco. Will close this report then. Nicolas: Please create a new bug report for issue 1) you are describing. This entry is getting too long such that it takes too much time to keep track of what's the real issue. Thanks! |