| Summary: | [PATCH] editors/libreoffice:open/save dialog crashes | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | Ports & Packages | Reporter: | Tomasz Sowa <bugsfreebsd> | ||||||||||||||
| Component: | Individual Port(s) | Assignee: | Jung-uk Kim <jkim> | ||||||||||||||
| Status: | Closed FIXED | ||||||||||||||||
| Severity: | Affects Some People | CC: | amistry, grahamperrin, jkim, kalten, maciej, martin, ohartmann, pkubaj | ||||||||||||||
| Priority: | --- | Keywords: | patch | ||||||||||||||
| Version: | Latest | Flags: | bugzilla:
maintainer-feedback?
(office) |
||||||||||||||
| Hardware: | Any | ||||||||||||||||
| OS: | Any | ||||||||||||||||
| Attachments: |
|
||||||||||||||||
|
Description
Tomasz Sowa
2015-10-05 20:24:39 UTC
I want to confirm that the patch works. Thanks. -- Martin Created attachment 164277 [details]
patch: save-crashing: version as in 5.0.4.2 RC2
This is a patch generated from version 5.0.4.2-RC2 (thereby following the
way the team of libreoffice has chosen) ready for the directory
“editors/libreoffice/files/” working with the current version 5.0.3_1 in
our ports.
One should remark in the Makefile that this patch-file has to be removed
when updating to 5.0.4.*!
It should take another seven and a half hours until the compile in my
poudriere(8) will be finished—in case someone wants to try this earlier:
feel free to do so by using the new patch.
(As the old patch is not deleted by the bug tracking system, I shall be so
bold as to declare it superseded.)
Regards,
Kalten
(In reply to Kalten from comment #2) I am very sorry—the compile using the patch in attachment 164277 [details] (which happens to be c1b97d2747004d1912744ab7ff11353a73713310 in the git repository of libreoffice) did not solve the problem when using OPTIONS_FILE_UNSET+=GTK2 OPTIONS_FILE_SET+=GTK3 I shall retry with GTK2 instead of GTK3 and attachment 164277 [details]. My report shall follow in about eight hours. Regards, Kalten (In reply to Kalten from comment #3) > I shall retry with GTK2 instead of GTK3 and attachment 164277 [details]. I am happy to report that this combination does work on 10.2-RELEASE-p7 (amd64). Regards, Kalten Same here on CURRENT with most recent LibreOffice port (5.0.4). Also compiling with GTK3. Could this patch be committed? I experience the same issue on my computers. Please: is any additional testing required to progress this patch for the bug? Some discussion at https://forums.pcbsd.org/thread-20263.html Created attachment 179545 [details]
Fix for libreoffice-5.2.4_3
The attached patch fixes this crash for me in libreoffice-5.2.4_3.
FreeBSD 11.0-RELEASE-p6
Created attachment 179547 [details]
Another possible fix
Can you please try this patch?
Jung-uk Kim the patch you posted did not fix the problem. Created attachment 179729 [details]
Yet another possible fix
(In reply to amistry from comment #10) Hmmm... Can you please try the new patch? Created attachment 179731 [details]
Fix GTK3 crash
Please try this instead. Sorry.
The latest patch "Fix GTK3 crash" works and fixes the crash. Thank you. A commit references this bug: Author: jkim Date: Wed Feb 8 18:44:55 UTC 2017 New revision: 433663 URL: https://svnweb.freebsd.org/changeset/ports/433663 Log: - Stop crashing when GTK3 GUI is enabled. - Always use gtk_dialog_get_action_area(). It was available since GTK 2.14. PR: 203563 Changes: head/editors/libreoffice/Makefile head/editors/libreoffice/files/patch-vcl_unx_gtk_fpicker_SalGtkFilePicker.cxx Committed. Sorry it took so long. A commit references this bug: Author: jkim Date: Fri Feb 10 02:02:55 UTC 2017 New revision: 433781 URL: https://svnweb.freebsd.org/changeset/ports/433781 Log: Refine r433663. If "use-header-bar" property of the dialog is set to TRUE, it uses a GtkHeaderBar for action buttons instead of the action area and gtk_dialog_get_header_bar() should not return NULL. If it is set to FALSE, gtk_dialog_get_header_bar() always returns NULL. In other words, we should not remove buttons from both header bar and action area in any case. This patch also removes pointless assertions from the previous patch. PR: 203563 Changes: head/editors/libreoffice/Makefile head/editors/libreoffice/files/patch-vcl_unx_gtk_fpicker_SalGtkFilePicker.cxx |