[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Texmacs-dev] dmg image for TeXmacs/Qt/Mac with experimental support
Miguel de Benito Delgado
Re: [Texmacs-dev] dmg image for TeXmacs/Qt/Mac with experimental support for Retina display
Mon, 24 Dec 2012 12:38:29 +0100
What I don't understand is why the first window to be created renders the
drawing surface correctly but any new buffer doesn't: a white square of roughly
1/4 the area is displayed.
Another problem is what happens when one opens a buffer with an "automatic
jump" to some line and column, like when browsing the scheme code with
cmd+click. The currently visible area is greyed and one has to move around to
force the white background.
A hack: Inside qt_tm_widget_rep::write(), SLOT_SCROLLABLE, one can force a
resize of the scrollarea()->surface() to twice its current size. Then, when
opening a new buffer the white drawing area is, obviously, 4 times bigger
(though that's still not enough vertically to fill the window). The other
problem mentioned is unaffected.
Miguel de Benito.
On Dec 20, 2012, at 6:19 PM, Miguel de Benito Delgado <address@hidden> wrote:
> testing on a rMBP13 I notice that the canvas is not wholly rendered when a
> new buffer is opened. One has to force a full redraw in some way, for
> instance adjusting the zoom. Switching between buffers has the same problem.
> By the way, yes it looks gorgeous, thanks!
> On Dec 13, 2012, at 4:02 PM, Joris van der Hoeven <address@hidden> wrote:
>> Hi Max,
>> Thanks for the bundle. Gregoire confirms that it works well on his laptop
>> looks very pretty indeed. I cannot test myself for the time being.
>> I hope that you can manage to make the necessary changes on the SVN
>> without breaking the build process for older versions of Qt.
>> Best wishes, --Joris
>> Texmacs-dev mailing list