Bug 418195 - Scroll bar and vertical line overlap icons in side bar when size of emoji picker window is reduced
Summary: Scroll bar and vertical line overlap icons in side bar when size of emoji pic...
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Emoji Selector (show other bugs)
Version: master
Platform: Arch Linux Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
: 418396 418664 (view as bug list)
Depends on:
Blocks:
 
Reported: 2020-02-25 19:31 UTC by Patrick Silva
Modified: 2020-03-13 14:14 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.18.3
Sentry Crash Report:


Attachments
screen recording (1.21 MB, video/webm)
2020-02-25 19:31 UTC, Patrick Silva
Details

Note You need to log in before you can comment on or make changes to this bug.
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. ***