| Summary: | support GTK3 Emoji Chooser | ||
|---|---|---|---|
| Product: | LibreOffice | Reporter: | Christoph Anton Mitterer <calestyo> |
| Component: | UI | Assignee: | Not Assigned <libreoffice-bugs> |
| Status: | RESOLVED NOTOURBUG | ||
| Severity: | enhancement | CC: | caolan.mcnamara, khaled, stephane.guillou |
| Priority: | medium | ||
| Version: | 7.5.0.0 alpha0+ | ||
| Hardware: | All | ||
| OS: | Linux (All) | ||
| URL: | https://ask.libreoffice.org/t/how-can-i-get-the-emoji-picker-back-in-lo-7-5/88216 | ||
| See Also: |
https://bugs.documentfoundation.org/show_bug.cgi?id=151197 https://bugs.documentfoundation.org/show_bug.cgi?id=136947 https://bugs.documentfoundation.org/show_bug.cgi?id=160474 |
||
| Whiteboard: | |||
| Crash report or crash signature: | Regression By: | ||
| Bug Depends on: | |||
| Bug Blocks: | 103182 | ||
|
Description
Christoph Anton Mitterer
2023-07-22 20:56:12 UTC
Makes sense since the integrated LO picker was removed in LO 7.5 for bug 151197. KDE users seem to be able to use their DE's emoji picker, but GNOME's shortcut for it only functions in shipped GTK apps (for example, works in Gedit). Caolán, any thoughts on how doable that is? On a German keyboard layout, shortcuts would be <Ctrl + Shift + ;> or <Ctrl + .>, which are not assigned to anything by default. Tested on Ubuntu 20.04 with GNOME 3.36.8 and: Version: 7.5.5.2 (X86_64) / LibreOffice Community Build ID: ca8fe7424262805f223b9a2334bc7181abbcbf5e CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3 Locale: en-AU (en_AU.UTF-8); UI: en-US Calc: threaded Currently in gtk3 I see that the GtkEntry and GtkTextview have explicit bindings for ctrl+. and ctrl+; for "insert-emoji", but the GtkEmoji popover they use is internal in gtk3 and not exposed for external reuse. In gtk4 https://developer-old.gnome.org/gtk4/stable/GtkEmojiChooser.html is it exposed, but not in gtk3 nm -D /usr/lib64/libgtk-4.so.1.800.3 |grep gtk_emoji_chooser_get_type 0000000000127980 T gtk_emoji_chooser_get_type but $ nm -D /usr/lib64/libgtk-3.so.0.2406.32 |grep gtk_emoji_chooser_get_type is silent. So as far as I can see it isn't practically possible to reuse that gtk emoji chooser from our main widget in gtk3 (but it could be under gtk4) |