Bug 161467 - Assertion in Impress when trying to insert a table (gtk4 only)
Summary: Assertion in Impress when trying to insert a table (gtk4 only)
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
24.2.4.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Julien Nabet
URL:
Whiteboard: target:24.8.0
Keywords: haveBacktrace
Depends on:
Blocks: Gtk4
  Show dependency treegraph
 
Reported: 2024-06-08 01:32 UTC by kabbalah100
Modified: 2024-06-10 13:17 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Screenshot with information about the libreoffice package on my laptop (142.03 KB, image/png)
2024-06-08 11:07 UTC, kabbalah100
Details
gdb bt (24.42 KB, text/plain)
2024-06-08 11:18 UTC, Julien Nabet
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kabbalah100 2024-06-08 01:32:07 UTC
Cuando inserto una tabla en impress, se cierra automáticamente, cuando recupero el archivo, y comienzo a ampliar la tala vuelve y se cierra, nunca se puede ampliar porque en cada intento impress se cierra de inmediato.
engo instalado Arch Linux.

este es le resultado de journalctl -b:

jun 07 20:16:51 arch soffice.bin[39919]: ../glib/gobject/gsignal.c:2533: signal 'size-allocate' is invalid for instance '0x606f2f779040' of type 'GtkNotebook'
jun 07 20:16:55 arch soffice.bin[39919]: gtk_popover_menu_get_menu_model: assertion 'GTK_IS_POPOVER_MENU (popover)' failed
jun 07 20:16:55 arch soffice.bin[39919]: Cannot connect attribute 'surface' for cell renderer class 'GtkCellRendererPixbuf' since attribute does not exist
jun 07 20:17:00 arch soffice.bin[39919]: GtkDialog mapped without a transient parent. This is discouraged.
Comment 1 Julien Nabet 2024-06-08 06:09:10 UTC
What's your LO version? Did you use LO from Arch repository?
Also could you try https://wiki.documentfoundation.org/QA/FirstSteps#Corrupted_user_profile ?

Finally please respond in English some more people may help here.
Comment 2 kabbalah100 2024-06-08 11:07:59 UTC
Created attachment 194604 [details]
Screenshot with information about the libreoffice package on my laptop

The libreoffice package was installed directly from the Arch Linux repositories on my laptop.
Comment 3 Julien Nabet 2024-06-08 11:18:27 UTC
Created attachment 194605 [details]
gdb bt

On pc Debian x86-64 with master sources updated today + gtk4 rendering, I could reproduce this.

It seems specific to gtk4.
For the moment, you can use this workaround:

in a term/console, type:
export SAL_USE_VCLPLUGIN=gen;soffice --impress
Comment 4 Julien Nabet 2024-06-08 11:19:57 UTC
Caolán: thought you might be interested in this one since it concerns gtk4.
BTW, I don't know what's the status of gtk4 implementation in LO. Should we stick to gtk3 for the moment?
Comment 5 Julien Nabet 2024-06-08 11:20:29 UTC
Sorry it's an assertion, not a crash.
Comment 6 Julien Nabet 2024-06-09 19:19:07 UTC
I gave a try with https://gerrit.libreoffice.org/c/core/+/168593
Comment 7 Caolán McNamara 2024-06-09 20:08:21 UTC
The gtk4 port isn't fully completed, I'm not personally working on it these days. It's not far from complete though.
Comment 8 Commit Notification 2024-06-09 20:09:40 UTC
Julien Nabet committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/2ee02727497475f7abf50f734daaebf4e7a64727

tdf#161467: fix assertion in Impress when inserting table (gtk4)

It will be available in 24.8.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 9 Julien Nabet 2024-06-10 07:58:26 UTC
(In reply to Caolán McNamara from comment #7)
> The gtk4 port isn't fully completed, I'm not personally working on it these
> days. It's not far from complete though.

Ok, thank you for the feedback.
Comment 10 kabbalah100 2024-06-10 13:17:34 UTC
According to Julien's comment, I switched to Gtk3 and the situation was solved.
Thanks for this support.