Bug 117023 - special characters dialog - right click Favorite characters / cannot cancel dialog (GTK3)
Summary: special characters dialog - right click Favorite characters / cannot cancel d...
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.1.0.0.alpha0+
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Special-Character
  Show dependency treegraph
 
Reported: 2018-04-15 21:00 UTC by raal
Modified: 2018-04-20 13:29 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
screenshot of dialog with context menu of favorite character (59.63 KB, image/jpeg)
2018-04-16 07:47 UTC, Dieter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description raal 2018-04-15 21:00:19 UTC
Description:
I cannot cancel special characters dialog when right click item in Favorite characters.

Steps to Reproduce:
1.open special characters dialog
2.right click one t the favorite characters
3.try to close the dialog with button Cancel or windows's button X

Actual Results:  
dialog is open

Expected Results:
close dialog


Reproducible: Always


User Profile Reset: No



Additional Info:


User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:59.0) Gecko/20100101 Firefox/59.0
Comment 1 Dieter 2018-04-16 07:15:33 UTC
Tried to reproduce:
first click on button Cancel or windows's button X closes the context menu; second click closes the special characters dialog
Comment 2 raal 2018-04-16 07:38:36 UTC
At my case context menu didn't appear.
Comment 3 Dieter 2018-04-16 07:47:03 UTC
Created attachment 141389 [details]
screenshot of dialog with context menu of favorite character

So I think that might be the bug, that no context menu appears.
Comment 4 Xisco Faulí 2018-04-16 09:22:44 UTC
I can't reproduce it in

Version: 6.1.0.0.alpha0+
Build ID: 24a57e2b854a1b8b3b8533ac72a6614ee29e374a
CPU threads: 4; OS: Linux 4.13; UI render: default; VCL: gtk2; 
Locale: ca-ES (ca_ES.UTF-8); Calc: group

Wrt gtk3, I've reported bug 117034
Comment 5 raal 2018-04-16 14:19:55 UTC
in console>
(soffice:19515): GLib-GObject-WARNING **: invalid cast from 'GtkDrawingArea' to 'GtkMenu'

(soffice:19515): Gtk-CRITICAL **: gtk_menu_popup: assertion 'GTK_IS_MENU (menu)' failed


Version: 6.1.0.0.alpha0+
Build ID: ba69036c8e889237da4bb312d7c5c94066abbfd3
CPU threads: 4; OS: Linux 4.4; UI render: default; VCL: gtk3; 

It's GTK3 issue, works OK in gtk2.
Comment 6 Xisco Faulí 2018-04-18 16:28:34 UTC
Hi raal,

Could you please check whether it's fixed after https://cgit.freedesktop.org/libreoffice/core/commit/?id=42f5a0fbbfe91827fdc0a27525e8cd8938871db2 ?
Comment 7 raal 2018-04-20 13:29:18 UTC
It's correct in Version: 6.1.0.0.alpha0+
Build ID: d4a01820ae094ef2d4ec2196334120600b1c9621
CPU threads: 4; OS: Linux 4.4; UI render: default; VCL: gtk3;