[texworks] mouse-wheel / slider cause TeXworks inmediate crash, issue broadens

Stefan Löffler st.loeffler at gmail.com
Tue Jan 25 20:39:21 CET 2011


On 2011-01-25 06:32, Paul A Norman wrote:
> This seems to have broadened, or more is surfacing.

My guess is the latter... especially since nothing has changed in the
builds, recently.

> In the debugger the crash can happen when the debugger adds error
> lines itself as you click the  green Debugger arrow.

This sounds reasonable, as the problem seems to be connected in some way
to the line highlighting code (which I think is what is done in the
debugger as well).

> Also something strange, sometimes when material has been copied to the
> clipboard in Tw, if it crashes due to this stuff, the material is no
> longer on the clipboard.

Yes, this is not entirely inexplicable. If the data is managed by Tw
rather than the operating system, the data is naturally lost when Tw
crashes. I am a bit surprised that this applies to simple plain text
data, but who knows how Qt handles stuff internally.

> It seems like a Qt framework issue?

Indeed, I think so too. I've tried to get some help on the dev forums
(http://developer.qt.nokia.com/forums/viewthread/3176/), but to no avail
so far... :(

> Do we need to retreat behind 4.7.1 for now?

This would be an option, albeit not an ideal one. E.g., Ubuntu 10.10
ships with Qt 4.7.0, and avoiding that would be quite difficult. The
same thing will probably apply to 11.04, unless there is a new Qt
release soon (which I seriously doubt). Similarly, for the Windows
builds, I use a system that comes with 4.7.1 right now... All in all
this is a big mess.


More information about the texworks mailing list