Bug 72038

Summary: Context menu creates events on the wrong date
Product: [Applications] korganizer Reporter: George Staikos <staikos>
Component: generalAssignee: Cornelius Schumacher <schumacher>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

Description George Staikos 2004-01-07 08:02:26 UTC
I have the month view on and I navigated to March.  Today is January 7.  I RMB 
on March 24 and select New Event.  It creates a new event on March 7 instead.  
It should create the event on March 24.
Comment 1 Reinhold Kainhofer 2004-01-16 15:51:28 UTC
Subject: osnabrueck_branch: kdepim/korganizer

CVS commit by kainhofe: 

Replace the way to determine the start/end dates for new events by a more general BaseView::eventDurationHint(QDateTime &startDt, QDateTime &endDt, bool &allDay), which gets the defaults and can then change them to e.g. the selection in the agenda or in the month view. If that function is not implemented in subclasses of BaseView, the usual defaults (first day selected in date picker, start/end times as specified in the config) are used. 

Using this function, the rmb menu in the month view now is able to create events on the day where the rmb was really pressed.

CCMAIL: 72038-done@bugs.kde.org


  M +12 -17    calendarview.cpp   1.231.2.2
  M +10 -0     koagendaview.cpp   1.127.2.3
  M +3 -0      koagendaview.h   1.57.2.1
  M +24 -0     komonthview.cpp   1.84.2.2
  M +4 -0      komonthview.h   1.40.2.1
  M +5 -0      interfaces/korganizer/baseview.h   1.13.2.1