[kmail2] [Bug 363085] kmail window fails to display/load on second start

2017-10-23 Thread Allen Winter
https://bugs.kde.org/show_bug.cgi?id=363085

Allen Winter  changed:

   What|Removed |Added

 Resolution|--- |UPSTREAM
 Status|UNCONFIRMED |RESOLVED
 CC||win...@kde.org

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmail2] [Bug 363085] kmail window fails to display/load on second start

2017-10-23 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=363085

--- Comment #18 from bl...@vivaldi.net ---
Resolved upstream. Bug status should be changed.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmail2] [Bug 363085] kmail window fails to display/load on second start

2016-08-23 Thread Ian via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=363085

--- Comment #17 from Ian  ---
(In reply to Fred Wells from comment #16)
> I'm having the same issue with Fedora (24) ...
> KMail: 5.2.3
> KDE Frameworks: 5.25.0
> Qt 5.6.1 (built against 5.6.1)
> KDE Plasma: 5.25.0
> Kernel: 4.6.6-300

untick "Empty Wastebin on Exit" as this causes the problem. Log out or run up
System Activity and kill the kmail process.   its fixed in 5.3.0 but 5.3.0 has
more serious issues at the moment which may be related to something else

-- 
You are receiving this mail because:
You are the assignee for the bug.


[kmail2] [Bug 363085] kmail window fails to display/load on second start

2016-08-23 Thread Fred Wells via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=363085

Fred Wells  changed:

   What|Removed |Added

 CC||fred_we...@charter.net

--- Comment #16 from Fred Wells  ---
I'm having the same issue with Fedora (24) ...
KMail: 5.2.3
KDE Frameworks: 5.25.0
Qt 5.6.1 (built against 5.6.1)
KDE Plasma: 5.25.0
Kernel: 4.6.6-300

-- 
You are receiving this mail because:
You are the assignee for the bug.


[kmail2] [Bug 363085] kmail window fails to display/load on second start

2016-07-14 Thread Ian via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=363085

Ian  changed:

   What|Removed |Added

 CC||ianse...@yahoo.co.uk

--- Comment #15 from Ian  ---
kmail 5.2.3 still not loading GUI after a quit with "Empty Wastebin on Exit"
set to on
Qt: 5.6.1 
KDE Frameworks: 5.24.0
 KDE Plasma: 5.7.1 
Kernel: 4.6.3-1-default 
"openSUSE Tumbleweed (20160712) (x86_64)"

seems bugs 361679, 358216 are duplicates

-- 
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


[kmail2] [Bug 363085] kmail window fails to display/load on second start

2016-05-30 Thread Ryein Goddard via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=363085

--- Comment #14 from Ryein Goddard  ---
Your talking about the kdepim package in the kubuntu repos?  I didn't have it
installed, but I installed it and I didn't get any change.

-- 
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


[kmail2] [Bug 363085] kmail window fails to display/load on second start

2016-05-29 Thread via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=363085

--- Comment #13 from bl...@vivaldi.net ---
Ryein Goddard, have you tested this for kdepim 16.04 also?

-- 
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


[kmail2] [Bug 363085] kmail window fails to display/load on second start

2016-05-21 Thread Ryein Goddard via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=363085

--- Comment #12 from Ryein Goddard  ---
The only other option is to do it asynchronously if that is what you mean.  I
think it is discouraged because it is a blocking operation.  This wouldn't only
be a problem if the gui was still active, but it isn't.  Either the operation
thread is broken off, or the operation never completes.  I think the error
might be further down the line.

-- 
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


[kmail2] [Bug 363085] kmail window fails to display/load on second start

2016-05-21 Thread via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=363085

--- Comment #11 from bl...@vivaldi.net ---
exec() is a member of KJob class. Now let's look what tells us the
documentation:

 * Executes the job synchronously.
 *
 * This will start a nested QEventLoop internally. Nested event loop can be
dangerous and
 * can have unintended side effects, you should avoid calling exec()
whenever you can and use the
 * asynchronous interface of KJob instead.
 *
 * Should you indeed call this method, you need to make sure that all
callers are reentrant,
 * so that events delivered by the inner event loop don't cause
non-reentrant functions to be
 * called, which usually wreaks havoc.
 *
 * Note that the event loop started by this method does not process user
input events, which means
 * your user interface will effectivly be blocked. Other events like paint
or network events are
 * still being processed. The advantage of not processing user input events
is that the chance of
 * accidental reentrancy is greatly reduced. Still you should avoid calling
this function.
 *
 * @return true if the job has been executed without error, false otherwise

AHA!

-- 
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


[kmail2] [Bug 363085] kmail window fails to display/load on second start

2016-05-21 Thread via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=363085

--- Comment #10 from bl...@vivaldi.net ---
The last executed line of code is always the same:

Akonadi::CollectionStatisticsJob::CollectionStatisticsJob (this=0x9e98f0,
collection=..., parent=0x0)
at
/build/kdepimlibs-Nkju09/kdepimlibs-15.12.3/akonadi/src/core/jobs/collectionstatisticsjob.cpp:54
54 
/build/kdepimlibs-Nkju09/kdepimlibs-15.12.3/akonadi/src/core/jobs/collectionstatisticsjob.cpp:
No such file or directory.
(gdb) 

KMKernel::cleanup (this=this@entry=0x7fffdb70) at
/build/kdepim-FI8Jpb/kdepim-15.12.3/kmail/kmkernel.cpp:1410
1410/build/kdepim-FI8Jpb/kdepim-15.12.3/kmail/kmkernel.cpp: No such file or
directory.

Which is:
if (jobStatistics->exec()) {
The line from the piece of code I pasted before.

-- 
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


[kmail2] [Bug 363085] kmail window fails to display/load on second start

2016-05-21 Thread via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=363085

--- Comment #9 from bl...@vivaldi.net ---
Debugging session was really confusing. I found out that the certain thread
never finishes going in infinite loop like that

[Switching to thread 16 (Thread 0x7fff5dca4700 (LWP 1154))]
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
185 in ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
(gdb) 
[Switching to thread 16 (Thread 0x7fff5dca4700 (LWP 1154))]
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
185 in ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
(gdb) 
[Switching to thread 16 (Thread 0x7fff5dca4700 (LWP 1154))]
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
185 in ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S

-- 
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


[kmail2] [Bug 363085] kmail window fails to display/load on second start

2016-05-20 Thread via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=363085

--- Comment #8 from bl...@vivaldi.net ---
Ryein Goddard, please check this
https://bugs.launchpad.net/ubuntu/+source/kdepim/+bug/1584288
Click on "Does this bug affect you?" -> "Yes, it affects me".

-- 
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


[kmail2] [Bug 363085] kmail window fails to display/load on second start

2016-05-20 Thread via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=363085

--- Comment #7 from bl...@vivaldi.net ---
It's really hard to debug this stuff in kubuntu because package kdepim-dbg is
missing. Why?

-- 
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


[kmail2] [Bug 363085] kmail window fails to display/load on second start

2016-05-20 Thread via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=363085

--- Comment #6 from bl...@vivaldi.net ---
KMailSettings::self()->emptyTrashOnExit() just reads settings and returns
"true" or "false". That's not it.

-- 
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


[kmail2] [Bug 363085] kmail window fails to display/load on second start

2016-05-20 Thread Ryein Goddard via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=363085

--- Comment #5 from Ryein Goddard  ---
Does that mean a problem exists in the emptyTrashOnExit() function?  Because it
works while using the context menu right click.  Are they that different, or
does the trash empty program move the process to an external application
because the application closes before doing the empty process?

-- 
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


[kmail2] [Bug 363085] kmail window fails to display/load on second start

2016-05-20 Thread via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=363085

--- Comment #4 from bl...@vivaldi.net ---
This is the actual problematic piece of code

KSharedConfig::Ptr config =  KMKernel::config();
Akonadi::Collection trashCollection =
CommonKernel->trashCollectionFolder();
if (trashCollection.isValid()) {
if (KMailSettings::self()->emptyTrashOnExit()) {
Akonadi::CollectionStatisticsJob *jobStatistics = new
Akonadi::CollectionStatisticsJob(trashCollection);
if (jobStatistics->exec()) {
if (jobStatistics->statistics().count() > 0) {
mFolderCollectionMonitor->expunge(trashCollection, true
/*sync*/);
}
}
}
}

from kmkernel.cpp file.

-- 
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


[kmail2] [Bug 363085] kmail window fails to display/load on second start

2016-05-19 Thread via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=363085

rosenrot...@gmail.com changed:

   What|Removed |Added

 CC||rosenrot...@gmail.com

-- 
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


[kmail2] [Bug 363085] kmail window fails to display/load on second start

2016-05-19 Thread via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=363085

--- Comment #3 from bl...@vivaldi.net ---
Good. Now it's easy to create a patch fixing this.

-- 
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


[kmail2] [Bug 363085] kmail window fails to display/load on second start

2016-05-19 Thread Ryein Goddard via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=363085

--- Comment #2 from Ryein Goddard  ---
I figured out why this is happening.

This happens because of the "Empty tocal trash folder on program exit" checkbox
is ticked.

-- 
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


[kmail2] [Bug 363085] kmail window fails to display/load on second start

2016-05-19 Thread via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=363085

bl...@vivaldi.net changed:

   What|Removed |Added

 CC||bl...@vivaldi.net

--- Comment #1 from bl...@vivaldi.net ---
This happens because KMail process never finishes after closing the window.
Same here.

-- 
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