bug in block selection mode and replacement in Kate

Bug #588449 reported by Anastaze
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kdesdk (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: kate

Kate 3.3.2 (KDE 4..3.2)
Kubuntu karmic koala
Description: Ubuntu 9.10
Release: 9.10
kate:
  Installed: 4:4.3.2-0ubuntu1

The bug happens when I do block selection (CTRL+SHIFT+B) and replacement in Kate:

I select a column that I want to replace, I set the "Selection only" option and click on "Replace All" (if I use the simple "Replace" nothing happens, the bug may rather be this one), and then it does the replacement.

The column is correctly replaced, but the problem is that any occurrence of the item to be replaced in a further column (that should stay unchanged) will also be replaced. It's annoying, since I use extensively this feature...

An example: I want to change the first column of integer from "1" to "2"

# ----------
# Start point
aa 1 2
ab 1 3
ac 1 1
ad 1 1
ae 1 4
# ----------

The expected result is
# ----------
# expected
aa 2 2
ab 2 3
ac 2 1
ad 2 1
ae 2 4
# ----------

But the resulting block replacement is
# ----------
# actual block replacement
aa 2 2
ab 2 3
ac 2 2
ad 2 2
ae 2 4
# ----------

Note that the occurrence of "1" in the third column has also changed to "2", what is not intended.

Hope you can improve this! BTW is Kate still developed or the project is stopped?

Best regards,

           Anastaze

ProblemType: Bug
Architecture: amd64
Date: Tue Jun 1 21:19:15 2010
DistroRelease: Ubuntu 9.10
ExecutablePath: /usr/bin/kate
NonfreeKernelModules: nvidia
Package: kate 4:4.3.2-0ubuntu1
ProcEnviron:
 SHELL=/bin/bash
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 LANGUAGE=
ProcVersionSignature: Ubuntu 2.6.31-21.59-generic
SourcePackage: kdesdk
Uname: Linux 2.6.31-21-generic x86_64

Revision history for this message
Anastaze (franz-marchand) wrote :
Revision history for this message
Alessandro Ghersi (alessandro-ghersi) wrote :

Hi there!

Thanks for reporting this bug! Your bug seems to be a problem with the KDE program itself, and not with our KDE packages. But don't worry! This issue is being tracked by the KDE developers at: https://bugs.kde.org/show_bug.cgi?id=253191
Once fixed in KDE, it will be included in Kubuntu once the KDE version the fix is in in reaches Kubuntu.

Thanks!

Changed in kdesdk (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.