octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #44776] [Qt] Restore window button does not tr


From: anonymous
Subject: [Octave-bug-tracker] [bug #44776] [Qt] Restore window button does not trigger a repaint event for its content
Date: Thu, 18 Aug 2016 19:05:34 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36

Follow-up Comment #16, bug #44776 (project octave):

OK I think I have a fix for this completely now.

Basically, before the Figure's Container gets the QEvent::Resize we resize the
main window. I have then removed the unnecessary two other resizes from the
after event filter.


Further in updateBoundingBox the use of gh_manager::post_function
updateBoundingBoxHelper meant that the updates to the figure's main window
size were occuring after other elements were informed so I have now made this
updated.

What are the possible problems with this approach?

* I think we need to ensure that the ResizeFcns are not adversely affected by
this. The immediate post_set could lead to slow updates when resizing figures.
I have not completely tested this yet.

(file #38259)
    _______________________________________________________

Additional Item Attachment:

File name: bug-44716-fix-20160818.diff    Size:2 KB


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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