| Summary: | Cannot drag a new selection in a pre-existing section. | ||
|---|---|---|---|
| Product: | [Applications] korganizer | Reporter: | Stephen Leaf <smileaf> |
| Component: | general | Assignee: | kdepim bugs <pim-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | smartins |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | unspecified | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Stephen Leaf
2005-12-17 04:55:51 UTC
Reassigning all KOrganizer bug reports and wishes to the newly created korganizer-devel mailing list. I also agree, it's a bit counter-intuitive.
Still, there's a comment in the code that suggests that the actual behaviour was done on purpose...
Index: views/agendaview/koagenda.cpp
===================================================================
--- views/agendaview/koagenda.cpp (revision 915399)
+++ views/agendaview/koagenda.cpp (working copy)
@@ -636,14 +636,11 @@
}
showNewEventPopupSignal();
} else {
- // if mouse pointer is in selection, don't change selection
QPoint gpos = contentsToGrid( viewportToContents( viewportPos ) );
- if ( !ptInSelection( gpos ) ) {
- selectItem( 0 );
- mActionItem = 0;
- setCursor( Qt::ArrowCursor );
- startSelectAction( viewportPos );
- }
+ selectItem( 0 );
+ mActionItem = 0;
+ setCursor( Qt::ArrowCursor );
+ startSelectAction( viewportPos );
}
}
break;
SVN commit 915800 by smartins: Now, when selecting an area we don't need to click somewhere else first to clear an existing selection, it gets cleared automatically. BUG: 118491 M +4 -8 koagenda.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=915800 |