https://bugs.documentfoundation.org/show_bug.cgi?id=93821

            Bug ID: 93821
           Summary: not storing & restoring window contents under menus
                    ...
           Product: LibreOffice
           Version: unspecified
          Hardware: Other
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: graphics stack
          Assignee: [email protected]
          Reporter: [email protected]

The LibreOffice code-base dates from an era when:
  a) rendering was impossibly slow and
  b) window managers didn't keep copies of occluded windows.

The world has move on since 1995 ;-) as such we should hack some of the
complexity out here. The currently vcl/ menu structure literally screen-shots
the area underneath a popup menu, stores it, tries to track if it is drawn over
while the menu is up (to invalidate it), and then restores that afterwards.

At least - that's what it looks like checkout:

vcl/source/window/floatwin.cxx

checkout 'EnableSaveBackground' and others. In a nutshell I think we want to
have:

vcl/inc/svdata.hxx:    bool                    mbNoSaveBackground;            
// true: save background is unnecessary or even less performant

set - unconditionally true for all backends: and just push that through the
code to remove the horrors =)

Thanks !

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to