-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
kernel: We should read the default config on startup #2170
Conversation
That fallback is already done here: https://github.com/kvirc/KVIrc/blob/master/src/kvirc/kernel/KviApplication_setup.cpp#L690-L692 Called from: https://github.com/kvirc/KVIrc/blob/master/src/kvirc/kernel/KviApplication_setup.cpp#L721 If you keep seeing the setup wizard, the problem might be somewhere else... |
Not having that issue here. I only ever see that wizard once. |
I had that with alpha2. If it has already been fixed differently a new alpha release would be nice :) |
I am not sure anybody has touched that part of code. Can you try with a git version? |
I've tried git master and the setup wizard opens. If I apply my patch, kvirc starts up correctly. |
Here is and update to fix the KDE config. This works for me too ;) |
There still are problems with this.
|
Well, all users who update will always get the setup wizard, because it is broken right now. This happened on alpha1 on alpha2 and on master. Not only on one Linux system but on several. I was just tired after several month that this setup wizard always shows up. Starting kvirc with KF5 support always triggers the setup wizard and the KDE config file is not written so I do not see a problem with that change. |
When you use KDE4 the files kvirc creates are:
The first ist the name you specify in the code to point to the kvirc configuration directory. The second is used by file dialogs. When you use kvirc built against KF5 it uses ~/.config and not ~/.kde4 until you copy the file automatically. So you get the setup wizard dialog anyway. There is not need to have two config files around, that's why I choose kvircrc. |
Six years later, sorry, but this seems correct.
Adding a small piece of code to migrate the config from the old to the new file would avoid the problem. Will look into it |
Updated the PR at #2548, closing this one |
When kvirc is started it doesn't read the .kvirc4.rc config file. So every time the setup wizard pops up. The patch fixes this.