[Libreoffice-bugs] [Bug 143257] [GTK] selecting a shape increases memory use up to 1.3 GB, creates visual artifacts in GUI

2021-07-08 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=143257

stragu  changed:

   What|Removed |Added

Summary|selecting a shape increases |[GTK] selecting a shape
   |memory use up to 1.3 GB,|increases memory use up to
   |creates visual artifacts in |1.3 GB, creates visual
   |GUI |artifacts in GUI
 Blocks||103182

--- Comment #9 from stragu  ---
Thanks Paulo and Bogdan!
Seems to be GTK-specific. I tried without GTK:

/opt/libreofficedev7.2/program/soffice -env:SAL_USE_VCLPLUGIN=gen --writer

...and didn't get the same drastic increase in memory use (it only went from
100 to 150 mb, I could move the shape around, it didn't disappear...

I could see in the terminal the following warning pop up every time I move the
shape around, in case it helps understanding the issue:

warn:legacy.osl:20977:20977:svx/source/svdraw/svdmrkv1.cxx:311:
SdrMarkView::UndirtyMrkPnt(): Selected points on an object that is not a
PolyObj!


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=103182
[Bug 103182] [META] GTK3-specific bugs
-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 143257] [GTK] selecting a shape increases memory use up to 1.3 GB, creates visual artifacts in GUI

2021-07-09 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=143257

Caolán McNamara  changed:

   What|Removed |Added

 CC||caol...@redhat.com

--- Comment #10 from Caolán McNamara  ---
I don't think isn't a gtk think but is a generic unix/X thing in that selecting
the shape makes it a candidate for the "primary selection" and for some (rather
odd look reason) we're generating a huge bitmap from it in case we want to
paste it into some other application while the usual pattern is just to state
that its possible to paste as that format and not generate it until its
explicitly requested.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 143257] [GTK] selecting a shape increases memory use up to 1.3 GB, creates visual artifacts in GUI

2021-07-12 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=143257

Caolán McNamara  changed:

   What|Removed |Added

   Assignee|libreoffice-b...@lists.free |caol...@redhat.com
   |desktop.org |
 Status|NEW |ASSIGNED

--- Comment #11 from Caolán McNamara  ---
I think we can defer creating this large transfer bitmap until the moment
something actually wants it during a drop, which is the usual pattern for this
sort of thing and what I see we're doing with the standard writer images (as
opposed to these drawings)

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs