Bug 523090 - Emojier's minimum size is a little too small to fit everything
Summary: Emojier's minimum size is a little too small to fit everything
Status: RESOLVED FIXED
Alias: None
Product: Emoji Selector
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-07-15 12:44 UTC by cwo
Modified: 2026-07-27 05:49 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 6.7.4
Sentry Crash Report:


Attachments
emojier with a scrollbar covering the sidebar (221.92 KB, image/png)
2026-07-15 12:44 UTC, cwo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description cwo 2026-07-15 12:44:18 UTC
Created attachment 194324 [details]
emojier with a scrollbar covering the sidebar

DESCRIPTION

At least in some circumstances, emojier can be resized just a few pixels beyond what it actually needs. This causes the sidebar to become scrollable, but the width remains constant so almost the full column of icons is covered by a scroll bar. This looks pretty ridiculous.

It's not terrible as you can just make it a pixel or two taller and everything is fine - we're just missing a bit of the margins, and the view isn't even really scrollable as you can't scroll it, so little is missing. But emojier should pick the correct minimum size here.

STEPS TO REPRODUCE
1.  Open emojier
2.  Make it as small as you can

OBSERVED RESULT

Scroll bar covering the side bar

EXPECTED RESULT

No scroll bar

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 44
KDE Plasma Version: 6.7.80
KDE Frameworks Version: 6.29.0
Qt Version: 6.11.1
Kernel Version: 7.1.3-200.fc44.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 4 × Intel® Core™ i5-6200U CPU @ 2.30GHz
Memory: 16 GiB of RAM (15.5 GiB usable)
Graphics Processor: Intel® HD Graphics 520

also reproduced on Fedora's stock 6.7.2

ADDITIONAL INFORMATION
Comment 1 TraceyC 2026-07-15 20:08:22 UTC
Can confirm on Plasma built from git-master
When I launch Emoji Selector, it looks the way it does in the screenshot
Comment 2 Bug Janitor Service 2026-07-17 09:41:36 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/3887
Comment 3 cwo 2026-07-27 05:49:03 UTC
Git commit 9aa61a48c481b69fd5ecc3712e1aae62b973bbbd by Christoph Wolk.
Committed on 27/07/2026 at 05:23.
Pushed by cwo into branch 'master'.

emojier: make window large enough for sidebar

Emojier tries to set the minimum window height to be large enough to fit
the full sidebar, to avoid having it be covered up by a scroll bar. The
required minimum size for this does not seem to be available (the
implicitHeight changes with window size), so we compute it from the
contentHeight and adjust for differences between explicit and implicit
header sizes. The problem now is that the explicit header size may be
fractional, but windows can't be; at least in some situations the window
ends up too small by a third of a pixel or so, which makes it uselessly
scrollable - the scrollbar is shown, but can't actually be moved because
we can't move it by fractions of a pixel (or even if we can, that would
be completely invisible).

Instead, round up the explicit header size to the nearest full pixel.
FIXED-IN: 6.7.4

M  +3    -2    emojier/app/ui/Emojier.qml

https://invent.kde.org/plasma/plasma-desktop/-/commit/9aa61a48c481b69fd5ecc3712e1aae62b973bbbd