Bug 224560 - Event drag and drop from today to any another day does not work.
Summary: Event drag and drop from today to any another day does not work.
Status: RESOLVED UNMAINTAINED
Alias: None
Product: korganizer
Classification: Applications
Component: general (show other bugs)
Version: 4.3
Platform: Compiled Sources Linux
: LO normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-28 01:35 UTC by Sabine Faure
Modified: 2017-01-07 22:16 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Crash backtrace after retesting drag and dropping an event to another day. (10.30 KB, text/plain)
2010-02-03 20:41 UTC, Sabine Faure
Details
Kontact is still crashing when trying to drag and drop an event. Trunk, Svn Rev 1092481 (10.85 KB, text/plain)
2010-02-19 18:07 UTC, Sabine Faure
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sabine Faure 2010-01-28 01:35:29 UTC
Version:            (using Devel)
Compiler:          gcc 4.3.2 
OS:                Linux
Installed from:    Compiled sources

- Launch KOrg
- Create a new event for today
- drag and drop it to the day after tomorrow using the date navigator

The event is not moved eventhough there is a calendar icon next to the cursor when it is in the date navigator which would suggest that it is possible to do so.
(when drag and drop is not possible there is a forbidden sign displayed over the calendar icon next to the cursor.)

Plus, it would be very handy and quicker to move the events from one day to another using drag and drop.

Trunk, Svn Rev 1081051
Comment 1 Laurent Montel 2010-01-28 11:45:30 UTC
I confirm this bug.
I will look at it.
Comment 2 Laurent Montel 2010-01-29 09:48:56 UTC
Problem is in koagenda.cpp
Comment 3 Laurent Montel 2010-01-29 09:50:10 UTC
comment #2 was not for this bug. Ignore it
Comment 4 Laurent Montel 2010-02-01 14:36:31 UTC
korganizer(17873) KODayMatrix::dropEvent: AKONADI PORT: Disabled code in   virtual void KODayMatrix::dropEvent(QDropEvent*)

dnd is not ported.
So we need to do it.

Regards
Comment 5 Laurent Montel 2010-02-01 16:03:58 UTC
I ported it in trunk.
Need to fix some little bugs yet.
Comment 6 Sabine Faure 2010-02-03 20:41:48 UTC
Created attachment 40509 [details]
Crash backtrace after retesting drag and dropping an event to another day.

I retested this today.

It worked once but most of the time I get a crash (see backtrace attached) and the event is not moved.

Trunk, Svn Rev 1084694
Comment 7 Laurent Montel 2010-02-10 10:05:09 UTC
Hi,
Yesterday I fixed a crash in dnd.
Could you look at if it fixes your crash please ?
Thanks
Regards
Comment 8 Sabine Faure 2010-02-19 18:07:33 UTC
Created attachment 40931 [details]
Kontact is still crashing when trying to drag and drop an event. Trunk, Svn Rev 1092481 

I retested this today.

And Kontact/KOrganizer still crashes when trying to drag and drop an event to another day.

Trunk, Svn Rev 1092481
Comment 9 Denis Kurz 2016-09-24 18:42:15 UTC
This bug has only been reported for versions before 4.14, which have been unsupported for at least two years now. Can anyone tell if this bug still present?

If noone confirms this bug for a Framework-based version of korganizer (version 5.0 or later, as part of KDE Applications 15.08 or later), it gets closed in about three months.
Comment 10 Denis Kurz 2017-01-07 22:16:31 UTC
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.0 aka 15.08), please open a new one unless it already exists. Thank you for all your input.