Text cursor in wrong cell in calligrawords

Bug #1024402 reported by Jonathan Riddell
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Qt
Fix Released
Medium
qt4-x11 (Ubuntu)
Fix Released
Undecided
Unassigned
Precise
Fix Released
Undecided
Unassigned
Quantal
Fix Released
Undecided
Unassigned

Bug Description

Bug shows itself in calligrawords

I inserted 2x9 table into the document. When I enter text into a 2nd column's cell, the cursor blinks in the 1st column's cell instead. Reproducible: Always Steps to Reproduce: 1. Insert table with 2 columns 2. Click onto some 2nd column's cell 3. Start typing text Actual Results: 2. Cursor is shown in 2nd column's cell 3. Cursor "jumps" into the 1st column's cell (of the same row) Expected Results: 3. Cursor should stay in the correct place

Revision history for this message
In , Silver-salonen (silver-salonen) wrote :

User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.21 (KHTML, like Gecko) Chrome/19.0.1046.0 Safari/535.21 SUSE/19.0.1046.0
Build Identifier:

I inserted 2x9 table into the document. When I enter text into a 2nd column's cell, the cursor blinks in the 1st column's cell instead.

Reproducible: Always

Steps to Reproduce:
1. Insert table with 2 columns
2. Click onto some 2nd column's cell
3. Start typing text
Actual Results:
2. Cursor is shown in 2nd column's cell
3. Cursor "jumps" into the 1st column's cell (of the same row)

Expected Results:
3. Cursor should stay in the correct place

Revision history for this message
In , Silver-salonen (silver-salonen) wrote :

The cursor behaves very interestingly in the table :)
I typed a word into the 1st column's cell, double-clicked it (the word got selected) and started typing. The first typed character replaced the text and then the cursor jumped before the character, so all the other characters appeared before the 1st character.

Another interesting behavior in the table: I copy-pasted a text from one cell to others and although the source text was with font size 11, the pasted text appeared with font size 12.

Revision history for this message
In , Cbo-g (cbo-g) wrote :

I can't reproduce this one either, but i belive it's because i have qt 4.7 and i bet you have 4.8

the other one about copy pasting from one cell to another i can redproduvce though

Revision history for this message
In , Silver-salonen (silver-salonen) wrote :

Yes, I use Qt 4.8.0 and KDE 4.8.1.

Revision history for this message
In , Cbo-g (cbo-g) wrote :

I have qt 4.8 too now, and can reproduce. It's indeed a qt bug

Revision history for this message
In , Cbo-g (cbo-g) wrote :

*** Bug 302504 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Jaroslav Reznik (jreznik) wrote :

Any estimation on fix or a pointer to the issue - so we can prepare fixed qt/calligra build? Thanks.

Revision history for this message
In , Cbo-g (cbo-g) wrote :

Well I think I've found the offending commit to qt 4.8, but the developer in question is on vacation until monday, but then I'll discuss it with him.

I think a relatively simple patch will come out of it, and then I'll tell you.

For the record the problem can be seen in kate too, when you have lines that are indented and wrapped. Then on the second and following lines of that wrapped line it happens too

Revision history for this message
In , Cbo-g (cbo-g) wrote :

A patch has been committed to Qt, and I've notified packagers that they should patch their packages

So closing this bug

Revision history for this message
In , Cbo-g (cbo-g) wrote :

For ref the sha of the commit is:

ca89c49fa2c5cbb3945897046f33eed9f7da846c

Jonathan Riddell (jr)
tags: added: kubuntu
Jonathan Riddell (jr)
Changed in qt4-x11 (Ubuntu Precise):
milestone: none → ubuntu-12.04.1
Changed in qt:
importance: Unknown → Medium
status: Unknown → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package qt4-x11 - 4:4.8.2-0ubuntu4

---------------
qt4-x11 (4:4.8.2-0ubuntu4) quantal; urgency=low

  * Add kubuntu_35_text_cursor_position.diff from upstream fixes LP: #1024402
    "Text cursor in wrong cell in calligrawords"
 -- Jonathan Riddell <email address hidden> Sat, 14 Jul 2012 18:30:29 +0100

Changed in qt4-x11 (Ubuntu Quantal):
status: New → Fix Released
Revision history for this message
Scott Kitterman (kitterman) wrote : Please test proposed package

Hello Jonathan, or anyone else affected,

Accepted qt4-x11 into precise-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/qt4-x11/4:4.8.1-0ubuntu4.2 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please change the bug tag from verification-needed to verification-done. If it does not, change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in qt4-x11 (Ubuntu Precise):
status: New → Fix Committed
tags: added: verification-needed
Revision history for this message
Jonathan Riddell (jr) wrote :

In precise with Qt 4:4.8.1-0ubuntu4 packages installed I ran calligrawords, inserted a 4x4 table and when writing in the second cell the mouse cursor was in the first cell

I installed Qt 4:4.8.1-0ubuntu4.2 packages from precise-propoesed. Running calligrawords and inserting a table I can correctly edit second column cells with the cursor in the right cell

tags: added: verification-done
removed: verification-needed
john (johndrhodess)
Changed in qt4-x11 (Ubuntu Precise):
assignee: nobody → john (johndrhodess)
status: Fix Committed → Fix Released
john (johndrhodess)
summary: - Text cursor in wrong cell in calligrawords
+ Text cursor in wrong cell in calling words
Revision history for this message
Scott Kitterman (kitterman) wrote :

Dear John,

Calligrawords is a package name. The bug was correct before you fixed it. Please don't fix it again.

summary: - Text cursor in wrong cell in calling words
+ Text cursor in wrong cell in calligrawords
Changed in qt4-x11 (Ubuntu Precise):
assignee: john (johndrhodess) → nobody
Revision history for this message
Scott Kitterman (kitterman) wrote :

It is also not fix-released in precise yet. Please don't change bug status information you don't understand.

Changed in qt4-x11 (Ubuntu Precise):
status: Fix Released → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package qt4-x11 - 4:4.8.1-0ubuntu4.2

---------------
qt4-x11 (4:4.8.1-0ubuntu4.2) precise-proposed; urgency=low

  * Add kubuntu_35_text_cursor_position.diff fixes LP: #1024402
    "Text cursor in wrong cell in calligrawords"
 -- Jonathan Riddell <email address hidden> Sat, 14 Jul 2012 18:26:51 +0100

Changed in qt4-x11 (Ubuntu Precise):
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.