[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 277433] Days of week in calendar popup of clock widget doesn't
From:       John Layt <jlayt () kde ! org>
Date:       2011-11-01 21:33:53
Message-ID: E1RLLxx-0007V5-LV () bugs ! kde ! org
[Download RAW message or body]

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





--- Comment #34 from John Layt <jlayt kde org>  2011-11-01 21:33:52 ---
Date/time formatting standards such as CLDR work with 3 'widths', Long, Short
and Narrow, e.g. Monday, Mon and M in English.  Note that different
languages/locales may use different number of characters for Short and Narrow,
but 3 and 1 is the norm.  The Narrow option was added to kdelibs in 4.7 (?)
specifically to solve this bug.

I have no intention to add support for any other formats, especially as 5.0
will be switching to QLocale which will only offer the CLDR standard widths. 
If you really must you could provide your own abbreviations and have them
translated, but these would be non-standard and not consistent with the rest of
KDE and Qt.  Besides, once it gets even smaller then you will just need to
switch to 1 char anyway.  I think it would be better to try solve the scaling
issue to fit 3 chars in than add all that extra work to save only 1 char.

I haven't checked if this is the case, but when deciding how wide a column must
be the code should be checking the max width of all the weekday names displayed
to find the widest one, not just the first as it appears to be doing, i.e. Wed
is going to be wider than Sun.

FYI, there's a list of various drawing and resizing issues needing to be fixed
at http://community.kde.org/Plasma/Tasks#Calendar.2FClock_Plasmoids

Before making any changes I would suggest consulting with aseigo, he has firm
opinions on the calendar font dynamic sizing and has rejected patches in the
past that wanted to use fixed sizes.  Checking first will save you unnecessary
work.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic