[kontact] [Bug 235690] kontact hangs when starting in summary view or after switching to summary view

2013-08-21 Thread Martin Nebe
https://bugs.kde.org/show_bug.cgi?id=235690

--- Comment #21 from Martin Nebe martin.n...@gmail.com ---
Created attachment 81845
  -- https://bugs.kde.org/attachment.cgi?id=81845action=edit
ICal test file to check for the presence of the bug.

With this ICal Calendar File (and without the bugfix introduced in 4.11)
kontact hangs when starting in summary view or after switching to summary view.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[kontact] [Bug 235690] kontact hangs when starting in summary view or after switching to summary view

2013-08-21 Thread Martin Nebe
https://bugs.kde.org/show_bug.cgi?id=235690

--- Comment #22 from Martin Nebe martin.n...@gmail.com ---
After struggling many hours with installing KDEPIM 4.11 on my openSUSE 12.3 I
finally completed the retest today by using the attached ICal test file.

I am very happy with the result: No matter how I configured the summary view it
would not cause Kontact to hang or crash.

Therefore I confirm hereby that (at least from my point of view) the bug has
been fixed with this release!

Thank you very much for finally having solved this problem.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[kontact] [Bug 235690] kontact hangs when starting in summary view or after switching to summary view

2013-08-12 Thread Sergio Martins
https://bugs.kde.org/show_bug.cgi?id=235690

Sergio Martins iamser...@gmail.com changed:

   What|Removed |Added

 Status|CONFIRMED   |RESOLVED
 Resolution|--- |WORKSFORME

--- Comment #20 from Sergio Martins iamser...@gmail.com ---
Please retest

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[kontact] [Bug 235690] kontact hangs when starting in summary view or after switching to summary view

2013-06-14 Thread Sergio Martins
https://bugs.kde.org/show_bug.cgi?id=235690

--- Comment #19 from Sergio Martins iamser...@gmail.com ---
Git commit 00274b331e3b76b78dda6f92b2e3d5d09ae219a5 by Sergio Martins.
Committed on 15/06/2013 at 02:36.
Pushed by smartins into branch 'master'.

Performance improvements for the summary view.

Don't call eventsForDate() 7 times, uses incidences() then
timesInInterval() for recurring ones, which is faster.

M  +71   -77   kontact/plugins/korganizer/apptsummarywidget.cpp
M  +98   -79   kontact/plugins/korganizer/summaryeventinfo.cpp
M  +2-0kontact/plugins/korganizer/summaryeventinfo.h

http://commits.kde.org/kdepim/00274b331e3b76b78dda6f92b2e3d5d09ae219a5

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[kontact] [Bug 235690] kontact hangs when starting in summary view or after switching to summary view

2013-06-13 Thread Sergio Martins
https://bugs.kde.org/show_bug.cgi?id=235690

Sergio Martins iamser...@gmail.com changed:

   What|Removed |Added

 CC||iamser...@gmail.com

--- Comment #14 from Sergio Martins iamser...@gmail.com ---
Can you attach a corrupted calendar that shows this issue ?
I tried removing DTSTART and it worked fine still.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[kontact] [Bug 235690] kontact hangs when starting in summary view or after switching to summary view

2013-06-13 Thread Martin Nebe
https://bugs.kde.org/show_bug.cgi?id=235690

--- Comment #15 from Martin Nebe martin.n...@gmail.com ---
Created attachment 80505
  -- https://bugs.kde.org/attachment.cgi?id=80505action=edit
Recurrent event without DTSTART tag

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[kontact] [Bug 235690] kontact hangs when starting in summary view or after switching to summary view

2013-06-13 Thread Sergio Martins
https://bugs.kde.org/show_bug.cgi?id=235690

--- Comment #17 from Martin Nebe martin.n...@gmail.com ---
Created attachment 80508
  -- https://bugs.kde.org/attachment.cgi?id=80508action=edit
Not recurrent event without DTSTART tag

This event is actually not recurrent but still causes problems.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[kontact] [Bug 235690] kontact hangs when starting in summary view or after switching to summary view

2013-06-13 Thread Sergio Martins
https://bugs.kde.org/show_bug.cgi?id=235690

--- Comment #16 from Sergio Martins iamser...@gmail.com ---
Git commit bbaed3479a47e546a89f55fdb434ea1fdeb8dc68 by Sergio Martins.
Committed on 14/06/2013 at 01:24.
Pushed by smartins into branch 'master'.

Ignore events with invalid DTSTART.

Fixes kontact freezing for a couple of seconds.

M  +7-0akonadi/calendar/calendarbase.cpp

http://commits.kde.org/kdepimlibs/bbaed3479a47e546a89f55fdb434ea1fdeb8dc68

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[kontact] [Bug 235690] kontact hangs when starting in summary view or after switching to summary view

2013-06-13 Thread Sergio Martins
https://bugs.kde.org/show_bug.cgi?id=235690

Sergio Martins iamser...@gmail.com changed:

   What|Removed |Added

 Status|UNCONFIRMED |CONFIRMED
 Ever confirmed|0   |1

--- Comment #18 from Sergio Martins iamser...@gmail.com ---
This is fixed for me.
Please test 4.11 when you have a chance.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[kontact] [Bug 235690] kontact hangs when starting in summary view or after switching to summary view

2013-06-13 Thread Martin Nebe
https://bugs.kde.org/show_bug.cgi?id=235690

--- Comment #16 from Sergio Martins iamser...@gmail.com ---
Git commit bbaed3479a47e546a89f55fdb434ea1fdeb8dc68 by Sergio Martins.
Committed on 14/06/2013 at 01:24.
Pushed by smartins into branch 'master'.

Ignore events with invalid DTSTART.

Fixes kontact freezing for a couple of seconds.

M  +7-0akonadi/calendar/calendarbase.cpp

http://commits.kde.org/kdepimlibs/bbaed3479a47e546a89f55fdb434ea1fdeb8dc68

--- Comment #17 from Martin Nebe martin.n...@gmail.com ---
Created attachment 80508
  -- https://bugs.kde.org/attachment.cgi?id=80508action=edit
Not recurrent event without DTSTART tag

This event is actually not recurrent but still causes problems.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[kontact] [Bug 235690] kontact hangs when starting in summary view or after switching to summary view

2013-06-12 Thread Martin Nebe
https://bugs.kde.org/show_bug.cgi?id=235690

--- Comment #13 from Martin Nebe martin.n...@gmail.com ---
After another day of intense testing I have some more information about this
bug:
- Events that do not have a DTSTART entry, i.e. no starttime, will always cause
Kontact to hang if the Plugin Name 'Calendar' has it's check box marked in the
Summary Selection pane, no matter what choices one makes in the Upcoming Events
Summary Setup pane. (I don't know how, but my friends Google calendar had three
such entries, even though they did show start times in the Google web GUI. All
of them were recurrent tasks.)
- The Upcoming Special Dates will cause Kontact to hang for the same reason,
but only if both 'Show birthdays' check boxes are marked in the Upcoming
Special Dates Summary Setup pane. (There is one such check box under 'Show
these Special Dates From Your Calendar', and another one under 'Show these
Special Dates From Your Contact List'.)
- My theory in Comment 10 was to simple, and therefore I have to rephrase it
substantially to something like the following: Plugin summaries that query
corrupted calenders can cause Kontact to hang when they e.g. encounter an event
that do not have a start time or whose Remote Id is not unique in Akonadi.
- The processor load gets close to 100% when this occurs so I guess the query
gets stuck in a rather tight loop, sometimes causing my whole system to freeze!
- So the most straight forward approach to palliate this problem is perhaps to
add some code that replaces the hanging with an error message showing the 'Raw
Payload' of the corrupted event in addition to the associated Id, Remote Id and
the calendar name.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[kontact] [Bug 235690] kontact hangs when starting in summary view or after switching to summary view

2013-06-10 Thread Roman Fietze
https://bugs.kde.org/show_bug.cgi?id=235690

Roman Fietze r...@fietze-home.de changed:

   What|Removed |Added

 Status|RESOLVED|UNCONFIRMED
 Resolution|FIXED   |---

--- Comment #12 from Roman Fietze r...@fietze-home.de ---
Reopened as requested by Martin Nebe.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[kontact] [Bug 235690] kontact hangs when starting in summary view or after switching to summary view

2013-06-07 Thread MARTIN NEBE
https://bugs.kde.org/show_bug.cgi?id=235690

MARTIN NEBE martin.n...@gmail.com changed:

   What|Removed |Added

 CC||martin.n...@gmail.com

--- Comment #10 from MARTIN NEBE martin.n...@gmail.com ---
Please reopen this bug because it has come back !

It behaves exactly like specified in comment 6, and it is all the time 100%
reproducible on my two systems, which are:
- OpenSUSE 12.3 (KDE 4.10, Kontact  4.10, Kontact Summary 1.1,  Special Dates
Summary 1.0)
- PC-BSD 9.1 (KDE 4.9.3, Kontact 4.9.3, Kontact Summary 1.1,  Special Dates
Summary 1.0)

I have a (newbie?) theory regarding its relation to  bug 185544 mentioned in
comment 7:
My guess is that the Special Dates Plugin starts a new instance of Kontact when
it is going to query the calendars. When I am running Kontact from a terminal
window on my OpenSUSE system I get a very long list containing the following
type of messages:
kontact(2805) CalendarSupport::Calendar::Private::updateItem: Discarding
duplicate incidence with uid  7E7000E8-537B-48A9-9BE3-45BEA2AC7F7B 
kontact(2805) CalendarSupport::Calendar::Private::updateItem: Discarding
duplicate incidence with uid  2AB58731-9AC2-47B9-A9BC-A151EF929754 
kontact(2805) CalendarSupport::Calendar::Private::updateItem: Discarding
duplicate incidence with uid  6AC5D91C-D5A3-4DFB-96F4-F22276C32692

I don't think these are true duplicates. Perhaps the query result contains each
uid twice because a second instance containing a copy of the same information
has been started by the Special Dates Summary plugin.

Fiddling a little more with the choices in the Special Dates Summary pane I
have seen that by unchecking either all events boxes OR all contacts boxes
Kontact will not hang anymore (but it will still generate the duplicates
messages I just mentioned).

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[kontact] [Bug 235690] kontact hangs when starting in summary view or after switching to summary view

2013-06-07 Thread MARTIN NEBE
https://bugs.kde.org/show_bug.cgi?id=235690

--- Comment #11 from MARTIN NEBE martin.n...@gmail.com ---
I have now dug deeper into this bug and even been able to solve it on my
systems: It turns out that I actually did have some calendar entries using the
same Remote Id. By eliminating them all problems disappear completely!

But there are still some fishy things in all this. The uid seen in my Comment
10 above are not among the Remote Id I had to delete; they are not even from
the same calendar as the bad ones.

How did I find the true culprits then?

After I had created above Comment 10 I came to think of the akonadiconsole
tool. By sorting on the remote Id field under the Browser tab I was able to
identify repeated values quite quickly. All of them were located in two Google
calendar resources. One belonging to me and the other to a friend (who had
given me read-only access).

The akonadiconsole tool let me remove the bad entries from my own calendar
only, so for my friends calendar I had to go into the calender properties and
disable it. The origin of those remote ID that were duplicated or even
triplicated is probably that I have been creating events in a way not foreseen
by the developers...

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs