FS#51491 - [GTK3][libreoffice-still]

Attached to Project: Arch Linux
Opened by Guillaume R. (mayweed) - Saturday, 22 October 2016, 07:36 GMT
Last edited by Andreas Radke (AndyRTR) - Friday, 13 January 2017, 20:01 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Andreas Radke (AndyRTR)
Architecture i686
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Lo
I just upgraded my Arch box and I can't use libreoffice anymore. I got this error:
(soffice:844) Gtk-CRITICAL**: gtk_widget_set_size_request: assertion 'width >=-1' failed
I read that it's normally non-blocking but in my case I cant open any documents or libreoffice on a
standalone basis, which is very annoying...

This task depends upon

Closed by  Andreas Radke (AndyRTR)
Friday, 13 January 2017, 20:01 GMT
Reason for closing:  Fixed
Comment by Julio (The_Loko) - Saturday, 22 October 2016, 08:08 GMT Comment by Guillaume R. (mayweed) - Saturday, 22 October 2016, 09:45 GMT
It's written why I don't use GTK2: "With version 5.0, GTK3 is the default, it isn't completely working however." Downgrade to a 4.x version with a GTK2 would imply way too invasive a downgrade for me :)
Comment by Andreas Radke (AndyRTR) - Saturday, 22 October 2016, 14:51 GMT
Simply change vcl to gtk2, generic or kde. Latest gtk3 upstream releases introduced some changes that lead to broken gtk3 vcl in LibO.
There's no need to downgrade further. You can also use LibO-fresh that has some gtk3 fixes included though some issues will remain until 5.3.x release.

https://wiki.archlinux.org/index.php/Libreoffice#Theme
Comment by Guillaume R. (mayweed) - Tuesday, 25 October 2016, 08:41 GMT
Hello Andreas
I havent quite understood the first answer, thanks for pointing me in the right direction. It now works with 'gen' for me. Will probably switch to gtk sooner or later because gen looks like Win95 or something...
Thx
Comment by Andreas Radke (AndyRTR) - Sunday, 06 November 2016, 08:53 GMT
This should be fixed with recent releases. Can you please confirm?
Comment by vinzenz schiesser (osune) - Saturday, 12 November 2016, 10:34 GMT
Not OP but cannot confirm.

> (soffice:5281): Gtk-CRITICAL **: gtk_widget_get_preferred_height_for_width: assertion 'width >= 0' failed

(installed gtk3: 3.22.3-1)
(installed libreoffice-fresh 5.2.3-1) [ i know this is about libreoffice-still but...]

I'm not sure what this entails but I have following experience:
* Menus are displayed way off of my screen or not opened

Also i think this is not a LibreOffice but a gtk3 Problem.
Several installed programs are affected likewise:
* emacs (additional pixman error: In pixman_region32_init_rect: Invalid rectangle passed) (cannot open menus)
* file-roller (menu is displayed way off of screen)
* quodlibet (additional pixman error: In pixman_region32_init_rect: Invalid rectangle passed) (cannot open menus)
* firefox (selector for download location is spawned only half visible in the corner of the screen)

By downgrading gtk3 to version 3.20.9-1 all problems are resolved.
Comment by Andreas Radke (AndyRTR) - Wednesday, 07 December 2016, 21:29 GMT
Is this still an issue with current gtk3?
Comment by vinzenz schiesser (osune) - Friday, 13 January 2017, 19:53 GMT
Hoi, sorry for the late answer.

I updated today to gtk3 3.22.6-1 and everything I listed before is fixed.
Until now, no new issues emerged.

Loading...