This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Unexpected behaviour when open a second Skrooge instance

Tags: None
(comma "," separated)
User avatar
JesusM
Registered Member
Posts
212
Karma
0
OS
Hello,

Sometimes I forget I have Skrooge already open and I do it again, and the behaviour when I do that is strange and, in my opinion, wrong because can lead you to think that the data file is somehow corrupted.

When you open a second instance of Skrooge, the new one appears like this:
Image
No toolbar, no pages and no account file apparently.

And in the background, the first instance of Skrooge changes immediately to this:
Image
Hence you can think that something is happening with your file (and panic!! ;D )

Actually, if you close the two instances (actually three instances since a third one is automatically when you close the first one), and open again Skrooge, your file will be there, berfectly ok.

So it is maybe just a cosmetic issue, but it caused me a shock first time a saw it. Could be possible to Skrooge to check if other instance is already running (for same user I assume) and display a warning message?

Thanks!!
JM
User avatar
smankowski
Moderator
Posts
1047
Karma
7
OS
What a coincidence, I just solved this problem.

https://bugs.kde.org/show_bug.cgi?id=403675


Skrooge, a personal finances manager powered by KDE
Image - PayPal
User avatar
JesusM
Registered Member
Posts
212
Karma
0
OS
When you say "just" you really mean it, don't you? Because I got the last available sources from git and compiled it just 30 minutes ago and the problem was still there. I will compile it again then.

Thanks!!!
JM
User avatar
JesusM
Registered Member
Posts
212
Karma
0
OS
Hi!

I tested the fix now (sorry, didn't have time before) and it's true that it doesn't open a new instance now, but still the message "Your document has been restored ..." is shown. Is that on purpose?

Thanks
User avatar
JesusM
Registered Member
Posts
212
Karma
0
OS
Hi!

I tested the fix now (sorry, didn't have time before) and it's true that it doesn't open a new instance now, but still the message "Your document has been restored ..." is shown. Is that on purpose?

Thanks
User avatar
smankowski
Moderator
Posts
1047
Karma
7
OS
My fist commit was for the panel and sometimes a crash after that, not for the warning.
I did a second commit to avoid the warning.


Skrooge, a personal finances manager powered by KDE
Image - PayPal
User avatar
JesusM
Registered Member
Posts
212
Karma
0
OS
Tested! And of course working well, no doubts! :)

Thanks


Bookmarks



Who is online

Registered users: Bing [Bot], claydoh, Evergrowing, Google [Bot], rblackwell