Bug 175814

Summary: korganizer's month view doesnt react to key and mouse events
Product: [Applications] korganizer Reporter: Sergio Martins <smartins>
Component: monthviewAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: winter
Priority: NOR    
Version: 4.1   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Fix double click handling in month view

Description Sergio Martins 2008-11-22 01:13:38 UTC
Version:            (using Devel)
Compiler:          gcc 4.1.2 
OS:                Linux
Installed from:    Compiled sources


Month view is missing some functionality that's present in "Agenda view".


In the month view, you can't delete items by selecting them and pressing the delete key.

Also, if you double click somewhere nothing happens, a "new event" dialog should be shown.
Comment 1 Sergio Martins 2008-12-05 22:10:18 UTC
Created attachment 29074 [details]
Fix double click handling in month view

This patch fixes part of the problem.

month view scene didn't emit a signal when it received a double click, now the "new event dialog" appears.

I don't know it its this simple, but it works.
Comment 2 Sergio Martins 2008-12-05 22:14:56 UTC
forgot to mention it must be applied in: kdepim/korganizer/views/monthview

I almost have a patch for the first part of the problem, which by coincidence also fixes copy-paste in monthview
Comment 3 Allen Winter 2008-12-06 00:29:29 UTC
SVN commit 893109 by winterz:

patch from Sérgio to make double-click start the incidence editor.
partial fix for "korganizer's month view doesnt react to key and mouse events"
CCBUG: 175814



 M  +2 -0      monthscene.cpp  
 M  +1 -0      monthscene.h  
 M  +3 -0      monthview.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=893109
Comment 4 Allen Winter 2008-12-06 01:27:33 UTC
SVN commit 893120 by winterz:

Fixes a couple of bugs:
1) delete key deletes an incidence
2) Edit->paste pastes where you tell it, rather than on first day showing

BUGS: 175814,132863


 M  +19 -8     calendarview.cpp  
 M  +2 -2      koviewmanager.h  
 M  +19 -0     views/monthview/monthview.cpp  
 M  +1 -2      views/monthview/monthview.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=893120