Kate: navigation keys do not cancel mark

Bug #1958090 reported by Heinrich Schuchardt
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ktexteditor (Ubuntu)
Fix Released
Low
Simon Chopin

Bug Description

SUMMARY
Pressing a navigation key without SHIFT does not cancel a mark.

STEPS TO REPRODUCE
I mark a piece of text in Kate with SHIFT+DOWN key and press CTRL+C. When I now press the DOWN key (without SHIFT) the mark is extended. I have to hit the ESC key to cancel the mark.

OBSERVED RESULT
I have to hit the ESC key to cancel the mark.

EXPECTED RESULT
Using a navigation key (UP, DOWN, LEFT, RIGHT, PAGE-UP, PAGE-DOWN, HOME, END) without SHIFT should cancel a mark. This worked fine in prior releases of Kate and matches the behavior of other editors.

The problem has been resolved upstream. Please, apply

Revert "Do not cancel mouse selection when using the keyboard"
https://invent.kde.org/frameworks/ktexteditor/commit/3b31919427baf3da1ab1a24f682a4cefc7e5106f

Tags: fr-1973
affects: kate (Ubuntu) → ktexteditor (Ubuntu)
Changed in ktexteditor (Ubuntu):
assignee: nobody → Heinrich Schuchardt (xypron)
tags: added: fr-1973
Revision history for this message
Heinrich Schuchardt (xypron) wrote :

ktexteditor 5.90.0-0ubuntu2 is available in ppa:xypron/kde

Changed in ktexteditor (Ubuntu):
status: New → In Progress
Mathew Hodson (mhodson)
Changed in ktexteditor (Ubuntu):
importance: Undecided → Low
Simon Chopin (schopin)
Changed in ktexteditor (Ubuntu):
assignee: Heinrich Schuchardt (xypron) → Simon Chopin (schopin)
Revision history for this message
Simon Chopin (schopin) wrote :

Technically, this fix breaks the ABI of libkf5texteditor5 since the patch removes a public symbol. This isn't a huge issue since the symbol has never been present in a released version of Ubuntu, but could you check that nothing in the archive uses it? I believe *someone* in #ubuntu-release has some tooling to check the sources for the entire archive.

You might also want to check in with the Kubuntu folks.

Changed in ktexteditor (Ubuntu):
assignee: Simon Chopin (schopin) → Heinrich Schuchardt (xypron)
Revision history for this message
Rik Mills (rikmills) wrote :

Checked with KDE devs, and nothing would have picked that symbol up as it is internal (sigh).

KDE policy is that frameworks must not break abi.

Note that I/we will be doing frameworks 5.91 with that in fairly soon anyway. Embargoed tars to packagers on 5th Feb, release on 12th.

Simon Chopin (schopin)
Changed in ktexteditor (Ubuntu):
assignee: Heinrich Schuchardt (xypron) → Simon Chopin (schopin)
Revision history for this message
Simon Chopin (schopin) wrote :

Allright, I uploaded the package to Jammy. Thanks!

Changed in ktexteditor (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ktexteditor - 5.90.0-0ubuntu2

---------------
ktexteditor (5.90.0-0ubuntu2) jammy; urgency=medium

  * Fix marking of text (LP: #1958090)

 -- Heinrich Schuchardt <email address hidden> Sun, 16 Jan 2022 23:52:21 +0100

Changed in ktexteditor (Ubuntu):
status: Fix Committed → Fix Released
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.