bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #40776] NSClipView should redraw when bounds change


From: Jeff Teunissen
Subject: [bug #40776] NSClipView should redraw when bounds change
Date: Wed, 04 Dec 2013 01:21:40 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20131101 Firefox/24.0 Iceweasel/24.1.0

Follow-up Comment #2, bug #40776 (project gnustep):

I don't think that will work out very well.

When doing the patch, the very first thing I tried was marking only the
document view as needing display, but the document view does not have to fill
the clipview.

Because of this fact, there may be quite a lot of area that /was/ covered by
the document view that no longer is.

If you have a 1000x1000 documentview and scale or otherwise resize it to
100x100, telling the documentview to redraw will only redraw the 100x100 area
the documentview now fills, leaving the rest of the clipview unchanged (even
though it's still full of the clipview's former contents).

That's why the clipview (_and_ the documentview inside it, but that's handled
anyway) needs to be redrawn.


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?40776>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]