<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>412506</bug_id>
          
          <creation_ts>2019-10-01 13:22:38 +0000</creation_ts>
          <short_desc>Adding new events always takes the whole day</short_desc>
          <delta_ts>2020-07-02 21:42:32 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>3</classification_id>
          <classification>Frameworks and Libraries</classification>
          <product>frameworks-kwidgetsaddons</product>
          <component>general</component>
          <version>unspecified</version>
          <rep_platform>Other</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="HPetrus">haigpetrus</reporter>
          <assigned_to name="Christoph Feck">cfeck</assigned_to>
          <cc>gjditchfield</cc>
    
    <cc>kdelibs-bugs-null</cc>
    
    <cc>winter</cc>
          
          <cf_commitlink>https://invent.kde.org/frameworks/kwidgetsaddons/commit/37c9ebe699e33f84700489982da301bdf8727bd3</cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1883088</commentid>
    <comment_count>0</comment_count>
    <who name="HPetrus">haigpetrus</who>
    <bug_when>2019-10-01 13:22:38 +0000</bug_when>
    <thetext>SUMMARY
Adding new events always takes the whole day, no matter what time changes you make on creation, or edit afterwards.  The only way to frame an event in the time you want is to drag the start and end times in the calendar view and not the dialogue.

STEPS TO REPRODUCE
1. Add an event to bring up dialogue
2. Change start and end times
3. hit Apply and/or OK; the new event goes from 12:00am to 12:00am

OBSERVED RESULT
The new event goes from 12:00am to 12:00am

EXPECTED RESULT
Should display and respect the start and end times, as determined in the dialogue

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 5.3.1-arch1-1-ARCH/Plasma 5.16.5
(available in About System)
KDE Plasma Version: 5.16.5
Qt Version: 5.13.1

Additional info:

Sometimes, creating events and correcting the times causes crashes, as well.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1885439</commentid>
    <comment_count>1</comment_count>
    <who name="Allen Winter">winter</who>
    <bug_when>2019-10-14 21:11:18 +0000</bug_when>
    <thetext>no idea how this can happen.

this would be a huge problem and many people would be reporting it.
I suppose there could be something with Qt5.13 that changed and broke things badly.

for now I am unable to reproduce this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1894362</commentid>
    <comment_count>2</comment_count>
    <who name="Allen Winter">winter</who>
    <bug_when>2019-12-01 22:24:04 +0000</bug_when>
    <thetext>maybe you have a timezone Korganizer doesn&apos;t like?
what is your system timezone?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1927269</commentid>
    <comment_count>3</comment_count>
    <who name="">gjditchfield</who>
    <bug_when>2020-05-04 22:30:37 +0000</bug_when>
    <thetext>This may be related to bug 410167 &quot;Cannot change or enter time for calendar entry&quot;.

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 &quot;LANG=en_US.UTF-8; korganizer&quot; 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&apos;t really solve your problem.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1931005</commentid>
    <comment_count>4</comment_count>
    <who name="Bug Janitor Service">bug-janitor</who>
    <bug_when>2020-05-19 04:33:21 +0000</bug_when>
    <thetext>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 &gt; 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!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1931744</commentid>
    <comment_count>5</comment_count>
    <who name="">gjditchfield</who>
    <bug_when>2020-05-22 02:29:30 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 410167 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1941430</commentid>
    <comment_count>6</comment_count>
    <who name="Albert Astals Cid">aacid</who>
    <bug_when>2020-07-02 20:46:48 +0000</bug_when>
    <thetext>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 &apos;master&apos;.

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 &apos;a&apos; (&quot;optional alphabetic&quot;) mask characters.
This does not work for locales that use punctuation in the indicator, such
as the current en_CA format &quot;9:00 A.M.&quot;.  This patch uses mask character
&apos;x&apos; (&quot;optional non-blank&quot;).

The current fr_CA time format contains an embedded &apos;h&apos;:  &quot;9 h 00&quot;.  &apos;h&apos; is
an edit mask character (&quot;optional hexadecimal digit&quot;), 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 406240, bug 409867, bug 410167, bug 411820, 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</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>