https://bugs.kde.org/show_bug.cgi?id=365257

Andrey Bondarenko <abon...@mail.ru> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |CONFIRMED

--- Comment #2 from Andrey Bondarenko <abon...@mail.ru> ---
I can confirm the issue with time column width in Kubuntu 18.04 (kalarm version
2.11.16-5, Qt version 5.9.5). The column is too narrow and last digit replaced
with ellipsis in 24 hours time formats (“23.07.2018 23:05” displayed as
“23.07.2018 23:0...”). It is quite annoying sometimes.

The issue is also reproducible in Kubuntu 16.04.4 (kalarm version
4:16.04.3-0ubuntu2~ubuntu16.04~ppa63, Qt version
5.6.1+dfsg-3ubuntu1~xenialoverlay1~4+fix1) and in version compiled from sources
in kdepim docker (kalarm version 2.12.0-5, qt version
5.11.1+dfsg-2+16.04+xenial+build57).

Looks like the issue somehow related to configured system font and probably DPI
(96 in my case). For my default font Noto Sans 10 only last digit in minutes is
hidden. If I increase font to Noto Sans 11, I can see all the digits. With
default font Liberation Sans 9, I cannot see minutes at all (“23.07.2018 23:05”
displayed as “23.07.2018 23:...”).

Interesting that commenting out code for AlarmListModel::TimeColumn in
AlarmListDelegate::sizeHint (src/alarmlistdelegate.cpp lines 95-113) and
delegating calculations to QItemDelegate::sizeHint from QT 5.11.1 resolves
issue for all three fonts in my setup.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to