Bug 136922 - Emoji selector is slow
Summary: Emoji selector is slow
Status: RESOLVED DUPLICATE of bug 140265
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.0.1.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: haveBacktrace, perf
Depends on:
Blocks:
 
Reported: 2020-09-21 11:16 UTC by medmedin2014
Modified: 2022-09-27 04:52 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
small scroll area (59.96 KB, image/png)
2020-09-21 11:16 UTC, medmedin2014
Details
screenshot (89.07 KB, image/png)
2020-09-25 18:14 UTC, BogdanB
Details
Slow emoji selector (1.46 MB, video/mp4)
2021-02-15 20:31 UTC, medmedin2014
Details
Perf flamegraph (287.96 KB, image/svg+xml)
2022-02-03 12:14 UTC, Buovjaga
Details

Note You need to log in before you can comment on or make changes to this bug.
Description medmedin2014 2020-09-21 11:16:22 UTC
Created attachment 165720 [details]
small scroll area

The emoji selector is extremely slow to appear and the selection of categories and scrolling inside it is really slow.
The scroll area is really too small. See attached image for info.
Comment 1 BogdanB 2020-09-25 18:14:39 UTC
Created attachment 165849 [details]
screenshot

The emoji selector is extremely slow to appear -> quick in my case
and the selection of categories and scrolling inside it is really slow. -> quick in my case
The scroll area is really too small. -> it's enough in my opionion. See my screenshot.

Tested in
Version: 7.0.1.2
Build ID: 7cbcfc562f6eb6708b5ff7d7397325de9e764452
CPU threads: 4; OS: Linux 5.4; UI render: default; VCL: gtk3
Locale: de-AT (ro_RO.UTF-8); UI: en-US
Calc: threaded
Comment 2 medmedin2014 2020-09-25 19:29:32 UTC
(In reply to BogdanB from comment #1)
> Created attachment 165849 [details]
> screenshot
> 
> The emoji selector is extremely slow to appear -> quick in my case
> and the selection of categories and scrolling inside it is really slow. ->
> quick in my case
> The scroll area is really too small. -> it's enough in my opionion. See my
> screenshot.
> 
> Tested in
> Version: 7.0.1.2
> Build ID: 7cbcfc562f6eb6708b5ff7d7397325de9e764452
> CPU threads: 4; OS: Linux 5.4; UI render: default; VCL: gtk3
> Locale: de-AT (ro_RO.UTF-8); UI: en-US
> Calc: threaded

I think you have big screen with powerful GPU and CPU, for my case I have only laptop with intel dual core cpu and with common small 15.6" screen that's why I have small scrollbar.
If you want I can make you a video to show how slow the emoji selector takes to appear.
And the icon categories grid for you takes a space of two rows while mine takes three rows.
Comment 3 Xisco Faulí 2021-02-15 18:12:21 UTC
A new major release of LibreOffice is available since this bug was reported.
Could you please try to reproduce it with the latest version of LibreOffice
from https://www.libreoffice.org/download/libreoffice-fresh/ ?
I have set the bug's status to 'NEEDINFO'. Please change it back to
'UNCONFIRMED' if the bug is still present in the latest version.
Comment 4 medmedin2014 2021-02-15 20:30:11 UTC
I tested the bug on :

Version: 7.2.0.0.alpha0+ / LibreOffice Community
Build ID: a0c689e1ad98bf3c47d189b8cc99c9f4bcc41a12
CPU threads: 2; OS: Linux 5.4; UI render: default; VCL: kf5
Locale: en-US (en_US.UTF-8); UI: en-US
TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:master, Time: 2021-02-06_03:44:29
Calc: threaded

Operating System: Manjaro Linux
KDE Plasma Version: 5.20.5
KDE Frameworks Version: 5.78.0
Qt Version: 5.15.2
Kernel Version: 5.4.95-1-MANJARO
OS Type: 64-bit

The UI is much better, but the emoji dialog opening, selection and scrolling are extremely slow and cause Writer to lag. See attached video for more info.
Comment 5 medmedin2014 2021-02-15 20:31:17 UTC
Created attachment 169772 [details]
Slow emoji selector
Comment 6 Buovjaga 2022-02-02 15:39:54 UTC
(In reply to medmedin2014 from comment #2)
> I think you have big screen with powerful GPU and CPU, for my case I have
> only laptop with intel dual core cpu and with common small 15.6" screen
> that's why I have small scrollbar.

Can you give the exact specs, which CPU and how much memory? It is not slow for me, but I do notice CPU fans starting to whir when I scroll quickly back and forth in the emoji selector.
Comment 7 medmedin2014 2022-02-02 16:21:17 UTC
It's still extremely slow on my machine, I have i3 1005g1 with 6GB of RAM, I don't think my specs are the problem because I can work fast on Microsoft Word using dual booting.
The problem is the loading and scrolling up/down, there is something not optimized in the code.
I'm using Manjaro KDE.

Tested on :
Version: 7.4.0.0.alpha0+ / LibreOffice Community
Build ID: 465c3ad95059f0efa13c8027f7383c4d20a5b2ff
CPU threads: 2; OS: Linux 5.4; UI render: default; VCL: kf5 (cairo+xcb)
Locale: en-US (en_150.UTF-8); UI: en-US
Calc: threaded

Operating System: Manjaro Linux
KDE Plasma Version: 5.23.5
KDE Frameworks Version: 5.90.0
Qt Version: 5.15.2
Kernel Version: 5.4.173-1-MANJARO (64-bit)
Graphics Platform: X11
Comment 8 Buovjaga 2022-02-03 12:14:08 UTC
Created attachment 178016 [details]
Perf flamegraph

Version: 7.4.0.0.alpha0+ / LibreOffice Community
Build ID: 2b95b55983689d5476e89c27177351e2d6785047
CPU threads: 8; OS: Linux 5.16; UI render: default; VCL: kf5 (cairo+xcb)
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded
Comment 9 ⁨خالد حسني⁩ 2022-09-27 04:52:08 UTC

*** This bug has been marked as a duplicate of bug 140265 ***