Bug 417454

Summary: Emoji Picker (Selector) extremely slow
Product: [Plasma] plasmashell Reporter: hsnnsnc <hasannisanci>
Component: Emoji SelectorAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: bugseforuns, nate, plasma-bugs, popov895, zawertun, zrenfire
Priority: NOR    
Version First Reported In: 5.18.0   
Target Milestone: 1.0   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In: 5.18.2
Sentry Crash Report:

Description hsnnsnc 2020-02-11 20:42:47 UTC
SUMMARY
The process of opening the emoji selector (Meta +.) And the process of resizing the window and being full screen is very slow.

STEPS TO REPRODUCE
1. Meta +. with the combination of "Application menu", "Utilities", "Emoji Selector" Is the app's name "Emoji Picker" or "Emoji Selector"?
2. The opened window is made full screen, it becomes normal again.
3. The opened window is resized. It appears that the window does not have the smallest size.
4. Click on "Close Sidebar"

OBSERVED RESULT
In general, "Emoji Picker" reacts extremely slowly. It's not useful.

EXPECTED RESULT
Better response times and fixing the smallest size of the window.

SOFTWARE/OS VERSIONS
Operating System: KDE neon 5.18
KDE Plasma Version: 5.18.0
KDE Frameworks Version: 5.67.0
Qt Version: 5.13.2
Kernel Version: 5.3.0-28-generic
OS Type: 64-bit
Processors: 12 × AMD Ryzen 5 1600 Six-Core Processor
Memory: 15,6 GiB of RAM

ADDITIONAL INFORMATION
Comment 1 Chris Holland 2020-02-12 00:35:56 UTC
I've tried to fix the layout slowness, and add some lazy loading for the emojis.

https://phabricator.kde.org/D27337
Comment 2 Aleix Pol 2020-02-19 18:13:32 UTC
Git commit 91c446e0c4430289369963bf44e64228add67d18 by Aleix Pol.
Committed on 19/02/2020 at 18:01.
Pushed by apol into branch 'Plasma/5.18'.

emojier: Only fit text when we know it's a very complex emoji

M  +2    -2    applets/kimpanel/backend/ibus/emojier/ui/CategoryPage.qml

https://commits.kde.org/plasma-desktop/91c446e0c4430289369963bf44e64228add67d18