Bug 296490 - text cursor blinks not in the current cell
Summary: text cursor blinks not in the current cell
Status: RESOLVED FIXED
Alias: None
Product: calligrawords
Classification: Applications
Component: tables (show other bugs)
Version: 2.4-snapshots
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Calligra Words Bugs
URL:
Keywords:
: 302504 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-03-21 12:31 UTC by Silver Salonen
Modified: 2012-07-04 08:31 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Silver Salonen 2012-03-21 12:31:23 UTC
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
Comment 1 Silver Salonen 2012-03-21 13:08:42 UTC
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.
Comment 2 Camilla Boemann 2012-03-21 14:10:07 UTC
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
Comment 3 Silver Salonen 2012-03-21 14:11:06 UTC
Yes, I use Qt 4.8.0 and KDE 4.8.1.
Comment 4 Camilla Boemann 2012-06-09 11:32:40 UTC
I have qt 4.8 too now, and can reproduce. It's indeed a qt bug
Comment 5 Camilla Boemann 2012-06-27 10:02:46 UTC
*** Bug 302504 has been marked as a duplicate of this bug. ***
Comment 6 Jaroslav Reznik 2012-06-28 15:22:25 UTC
Any estimation on fix or a pointer to the issue - so we can prepare fixed qt/calligra build? Thanks.
Comment 7 Camilla Boemann 2012-06-28 15:30:26 UTC
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
Comment 8 Camilla Boemann 2012-07-04 08:30:13 UTC
A patch has been committed to Qt, and I've notified packagers that they should patch their packages

So closing this bug
Comment 9 Camilla Boemann 2012-07-04 08:31:16 UTC
For ref the sha of the commit is:

ca89c49fa2c5cbb3945897046f33eed9f7da846c