Bug 418195

Summary: Scroll bar and vertical line overlap icons in side bar when size of emoji picker window is reduced
Product: [Plasma] plasmashell Reporter: Patrick Silva <bugseforuns>
Component: Emoji SelectorAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: filipfila.kde, med.medin.2014, snd.noise
Priority: NOR    
Version First Reported In: master   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 5.18.3
Sentry Crash Report:
Attachments: screen recording

Description Patrick Silva 2020-02-25 19:31:17 UTC
Created attachment 126413 [details]
screen recording

SUMMARY
Watch the attached screen recording please.

EXPECTED RESULT
nothing should overlap the icons in side bar when size of emoji picker window is reduced

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 5.18.2
KDE Frameworks Version: 5.67.0
Qt Version: 5.14.1
Comment 1 Filip Fila 2020-02-26 10:37:02 UTC
Seems to me like the problem is that this window has no minimum height or width set, which results in even worse visuals than this if you shrink it as much as you can.

I'll make a patch to set some minimum values.
Comment 2 Filip Fila 2020-02-27 13:12:24 UTC
Git commit d0247bf5695413f8de83e5c48e4b05874d077752 by Filip Fila.
Committed on 27/02/2020 at 13:12.
Pushed by filipf into branch 'Plasma/5.18'.

[emojier] Set minimum window height and width

Summary:
There are two problems right now with the emojier's window:
- when shrinking the window a scrollbar is drawn *over* the category drawer's icons
- the whole window can be shrunk to be only 1px wide and only several pixels tall

To solve both issues this patch sets a minimum height that is equal to the height of the category drawer's content, thereby removing the possibility of a scrollbar appearing. Minimum width is then set to be somewhat bigger than minimum height to account for monitor aspect ratios.

In practice this amounts to about 465x370 on a 1080p screen.
FIXED-IN: 5.18.3

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D27679

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

https://commits.kde.org/plasma-desktop/d0247bf5695413f8de83e5c48e4b05874d077752
Comment 3 Patrick Silva 2020-03-02 15:10:11 UTC
*** Bug 418396 has been marked as a duplicate of this bug. ***
Comment 4 Patrick Silva 2020-03-13 14:14:53 UTC
*** Bug 418664 has been marked as a duplicate of this bug. ***