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

--- Comment #3 from Khaled Hosny <[email protected]> ---
Still no idea what is going on, but creating a surface half the size will draw
the left half just fine:

diff --git a/vcl/unx/gtk3/gtk3gtkframe.cxx b/vcl/unx/gtk3/gtk3gtkframe.cxx
index d3a0310245f7..55cbdea37158 100644
--- a/vcl/unx/gtk3/gtk3gtkframe.cxx
+++ b/vcl/unx/gtk3/gtk3gtkframe.cxx
@@ -1585,7 +1585,7 @@ void GtkSalFrame::AllocateFrame()
 #endif
         m_pSurface =
gdk_window_create_similar_image_surface(widget_get_window(m_pWindow),
                                                             
CAIRO_FORMAT_ARGB32,
-                                                             aFrameSize.getX()
* scale,
+                                                            
(aFrameSize.getX()/2) * scale,
                                                              aFrameSize.getY()
* scale,
                                                              scale);
 #if CAIRO_VERSION >= CAIRO_VERSION_ENCODE(1, 14, 0)

But two thirds with draw only the left 1/3 in the middle of the screen!

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

Reply via email to