[kalarm] [Bug 365257] Columns in main window do not resize properly to fit their contents

2021-01-09 Thread David Jarvie
https://bugs.kde.org/show_bug.cgi?id=365257

David Jarvie  changed:

   What|Removed |Added

 Status|RESOLVED|CLOSED

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

[kalarm] [Bug 365257] Columns in main window do not resize properly to fit their contents

2018-07-28 Thread David Jarvie
https://bugs.kde.org/show_bug.cgi?id=365257

David Jarvie  changed:

   What|Removed |Added

 Resolution|--- |FIXED
   Version Fixed In||18.08
  Latest Commit||202a828796e4cf600d2f63e2fc9
   ||30fbdf5ddd9ad
 Status|CONFIRMED   |RESOLVED

--- Comment #3 from David Jarvie  ---
Thanks Andrey for the details which you provided. These helped a lot to get
this fixed.

Now fixed for version 2.12.0, which will be in KDE Applications 18.08 (git
commit 202a828796e4cf600d2f63e2fc930fbdf5ddd9ad).

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

[kalarm] [Bug 365257] Columns in main window do not resize properly to fit their contents

2018-07-23 Thread Andrey Bondarenko
https://bugs.kde.org/show_bug.cgi?id=365257

Andrey Bondarenko  changed:

   What|Removed |Added

 Ever confirmed|0   |1
 Status|UNCONFIRMED |CONFIRMED

--- Comment #2 from Andrey Bondarenko  ---
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.

[kalarm] [Bug 365257] Columns in main window do not resize properly to fit their contents

2018-07-22 Thread Andrey Bondarenko
https://bugs.kde.org/show_bug.cgi?id=365257

Andrey Bondarenko  changed:

   What|Removed |Added

 CC||abon...@mail.ru

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

[kalarm] [Bug 365257] Columns in main window do not resize properly to fit their contents

2017-01-22 Thread David Jarvie
https://bugs.kde.org/show_bug.cgi?id=365257

David Jarvie  changed:

   What|Removed |Added

Version|unspecified |2.11

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

[kalarm] [Bug 365257] Columns in main window do not resize properly to fit their contents

2016-07-08 Thread David Jarvie via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=365257

David Jarvie  changed:

   What|Removed |Added

Summary|Columns in main window are  |Columns in main window do
   |not resizeable  |not resize properly to fit
   ||their contents

--- Comment #1 from David Jarvie  ---
The original comment is incorrect - the columns were not manually resizeable in
KDE 4 either.

The time and repetition columns are supposed to resize to fit their contents.
However this does not always work properly, so that when times are shown as
am/pm, the whole text is not shown (e.g. "07/08/16 06:50 P...").

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