Bug 406240 - Hour for TODO won't change on KDE NEON
Summary: Hour for TODO won't change on KDE NEON
Status: RESOLVED FIXED
Alias: None
Product: frameworks-kwidgetsaddons
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Christoph Feck
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-04-05 04:38 UTC by felipeariasf
Modified: 2020-07-02 21:35 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description felipeariasf 2019-04-05 04:38:27 UTC
SUMMARY
I wanted to use KOrganizer so I installed it on my KDE NEON, unfortunately I can't properly set an start or end hour for my TODO.

STEPS TO REPRODUCE
1. Open KOrganizer
2. Create a TODO
3. Try to set an start or end hour for the TODO
4. Save it and open it again. You'll find it at 12:00AM

OBSERVED RESULT
It never assign an hour for the TODO task. It's always at 12:00AM.

EXPECTED RESULT
It should assign the hour specified by the user

SOFTWARE/OS VERSIONS
OS: KDE NEON 5.15
KDE Plasma Version: 5.15.3
KDE Frameworks Version: 5.56.0
Qt Version: 5.12.0

ADDITIONAL INFORMATION
Comment 1 felipeariasf 2019-04-05 04:50:56 UTC
I forgot to say that I synced the calendar with Google, in case it's related.
Comment 2 gjditchfield 2020-05-04 21:59:47 UTC
This may be related to bug 410167 "Cannot change or enter time for calendar entry".

Do you still have this problem, and if so, do you use a locale that is not en_US?  If so, please try the work-around mentioned in that bug: In konsole, run "LANG=en_US.UTF-8; korganizer" and see if you can set the start and end times.

If you can set the times, that will confirm the root cause of the bug, although it won't really solve your problem.
Comment 3 Bug Janitor Service 2020-05-19 04:33:14 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 4 gjditchfield 2020-05-22 02:28:39 UTC

*** This bug has been marked as a duplicate of bug 410167 ***
Comment 5 Albert Astals Cid 2020-07-02 20:46:47 UTC
Git commit 37c9ebe699e33f84700489982da301bdf8727bd3 by Albert Astals Cid, on behalf of Glen Ditchfield.
Committed on 02/07/2020 at 20:46.
Pushed by aacid into branch 'master'.

Fix KTimeComboBox for locales with unusual characters in formats

KTimeComboBox creates an edit mask by replacing the AM/PM indicator in
a formatted time with 'a' ("optional alphabetic") mask characters.
This does not work for locales that use punctuation in the indicator, such
as the current en_CA format "9:00 A.M.".  This patch uses mask character
'x' ("optional non-blank").

The current fr_CA time format contains an embedded 'h':  "9 h 00".  'h' is
an edit mask character ("optional hexadecimal digit"), so the generated
mask rejects properly-formatted times.  This patch escapes all characters
that are not supposed to be mask characters.

Credit to Filipus Klutiero for a detailed explanation of the errors.
```
Related: bug 405857, bug 409867, bug 410167, bug 411820, bug 412506, bug 420468
```

M  +52   -3    autotests/ktimecomboboxtest.cpp
M  +5    -0    autotests/ktimecomboboxtest.h
M  +26   -23   src/ktimecombobox.cpp

https://invent.kde.org/frameworks/kwidgetsaddons/commit/37c9ebe699e33f84700489982da301bdf8727bd3