bugGNU TeXmacs - Bugs: bug #28664, Incorrect cursor rendering


You are not allowed to post comments on this tracker with your current authentification level.

bug #28664: Incorrect cursor rendering

Submitted by:  Joris van der Hoeven <vdhoeven>
Submitted on:  Mon Jan 18 12:37:06 2010  
Category: Qt portPriority: 7 - High
Item Group: ErrorStatus: Confirmed
Privacy: PublicAssigned to: Massimiliano Gubinelli <mgubi>
Originator Name: Open/Closed: Open
Release: Release: None
Fixed Release: NoneFixed Release: 

(Jump to the original submission Jump to the original submission)

Mon Mar 23 10:12:58 2015, comment #11:

I haven't had this bug for ages and the procedure in comment #5 does not display any errors.

You say it is Qt related. Might it be your Qt version?

Miguel de Benito <mdbenito>
Project Member
Thu Aug 9 09:40:34 2012, comment #10:

This bug is still not fixed at all, and appears in various blends;
sometimes I also have it when scrolling images or when doing
presentations. Even though the bug seems really due to Qt,
I would like to keep it on the to do list because it is really
very annoying.

Joris van der Hoeven <vdhoeven>
Project Administrator
Sun Jul 29 10:32:10 2012, comment #9:

Since the problem is fixed, albeit with a nasty workaround, I'm leaving this item as fixed but open.

Miguel de Benito <mdbenito>
Project Member
Sun Mar 11 14:08:15 2012, comment #8:

Bug still present in r4977 on a 64 bit Mac. It disappear at small striking factor. It remains upon focusing and unfocusing the window. In svn there is an hack which prevents the bug to appear. To investigate the problem, comment the

#ifdef Q_WS_MAC

in line 171 of QTMWidget.cpp. I attach an screen capture which show the problem.

(file #25323)

Massimiliano Gubinelli <mgubi>
Project AdministratorIn charge of this item.
Fri Dec 17 09:27:54 2010, comment #7:

I've committed a (non)-fix with augment the invalid rectangles so that the problematic area get fully redrawn.

Massimiliano Gubinelli <mgubi>
Project AdministratorIn charge of this item.
Thu Dec 9 09:28:38 2010, comment #6:

The bug seems present only in 64 bit MacOSX.

Massimiliano Gubinelli <mgubi>
Project AdministratorIn charge of this item.
Wed Dec 8 17:15:30 2010, comment #5:

The bug still appears. A good way to reproduce it:
start a section title just after start-up and type
the mathematical formula 'a+b+c'. Now move around
this formula with the cursor.

Joris van der Hoeven <vdhoeven>
Project Administrator
Thu Dec 2 09:42:10 2010, comment #4:

This has been fixed in r3855. There were a bug in qt_renderer_rep::set_clip. I will reset the redraw area modifications in QTMWidget.

Massimiliano Gubinelli <mgubi>
Project AdministratorIn charge of this item.
Thu Jul 22 22:01:47 2010, comment #3:

I agree that the solution is not optimal. Maybe the bug is related to the incorrect rendering of pattern areas during scrolling. Seems that the rendering of shadows or some related clipping is wrong. I will investigate that after the holidays.

Massimiliano Gubinelli <mgubi>
Project AdministratorIn charge of this item.
Thu Jul 22 21:54:03 2010, comment #2:

The extra space you put around does not suffice.
I committed a new version which does suffice.
Nevertheless, it is strange that we do need as much
as four extra pixels in order to remove the effect of
rounding errors. Also, if you look carefully,
then in an example such as \frac{1}{f}, while moving
through f, the vertical stripes occur at positions
where no cursor is displayed. Please investigate what
is going on. I prefer to have a clean solution;
if this bug pops up at unexpected moments,
then we might simply have forgotten its existence.

Joris van der Hoeven <vdhoeven>
Project Administrator
Tue Jul 20 23:00:59 2010, comment #1:

I enlarger an invalidation rectangle (r3025). Now the artifact seems disappeared.
Please confirm.

Massimiliano Gubinelli <mgubi>
Project AdministratorIn charge of this item.
Mon Jan 18 12:37:06 2010, original submission:

In the attached document, position the cursor at the end of the line and type the '<-' key twice. Under Snow Leopard Aqua-Qt, the cursor rendering is incorrect, showing small erroneous one pixel wide lines at the borders. Could be due to anti-aliasing (try increasing some bounding boxes by 1 point during invalidation or shadow copying routines).

Joris van der Hoeven <vdhoeven>
Project Administrator


Attached Files
file #19515:  cursor_bug.png added by vdhoeven (26kB - image/png)
file #19514:  cursor_bug.tm added by vdhoeven (69B - application/octet-stream)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by mdbenito (Posted a comment)
  • -unavailable- added by mgubi (Posted a comment)
  • -unavailable- added by vdhoeven (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 13 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu Aug 9 09:40:34 2012vdhoevenPriority3 - Low=>7 - High
    Sun Jul 29 10:32:10 2012mdbenitoPriority7 - High=>3 - Low
    Sun Mar 11 14:08:15 2012mgubiAttached File-=>Added tm-cursor-redraw-bug.png, #25323
    Wed Dec 8 17:15:30 2010vdhoevenStatusFixed=>Confirmed
    Thu Dec 2 09:42:10 2010mgubiStatusIn Progress=>Fixed
    Tue Jul 20 23:00:59 2010mgubiStatusConfirmed=>In Progress
    Mon Jan 18 13:21:28 2010vdhoevenAttached File-=>Added cursor_bug.png, #19515
    Mon Jan 18 13:11:04 2010vdhoevenAttached File-=>Added cursor_bug.tm, #19514
    Mon Jan 18 12:37:17 2010vdhoevenPriority5 - Normal=>7 - High

    Back to the top

    Powered by Savane 3.1-cleanup