Project

General

Profile

Actions

Bug #5136

closed

Some default options are not set properly when there is no config file

Added by Kostas K about 4 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Interface
Target version:
Start date:
09/09/2020
Due date:
% Done:

0%

Estimated time:
Operative System:
All
Regression:
No

Description

I've noticed that when I enable: View|'Nicklist Buttons', then no buttons are added to the bottom of the Nicklist
(there were supposed to be 6 buttons, based on the default content of: Tools|'Edit Nicklist Buttons').

The issue only occurs in AdiIRC 3.9 beta 2020/09/02 x64 in win 10. (I also tested in a clean AdiIRC beta installation.)
In AdiIRC 3.8 x64 stable the buttons are added ok.

Thank you

P.S. Using AdiIRC 3.9 beta 2020/09/02 x64 in win 10. (In AdiIRC 3.8 x64 stable the buttons are added ok.)
I also tested in a clean AdiIRC installation.

Actions #1

Updated by Per Amundsen about 4 years ago

I am not able to reproduce this, make sure you have valid buttons in nicklistbuttons.ini

Actions #2

Updated by Kostas K about 4 years ago

It occurs only when you connect to a server via opening an irc link, e.g. irc://chat.freenode.net/#adiirc .

Here is STR (that I tested in a windows virtual machine to make sure the configuration is fresh):

STR

  • install AdiIRC 3.8 stable x64,
  • type /betaup to update to AdiIRC 3.9 beta 2020/09/02 x64
  • enable in Tools|Options|General --> 'Associate AdiIRC with irc:// links'
  • open an irc link in a browser, e.g. irc://chat.freenode.net/#adiirc
  • now tick to enable: View|'Nicklist Buttons': the buttons won't be created.
    In that case, toggling View|'Nicklist Buttons' doesn't help.
    Also, in that case the issue still occurs if you disconnect and reconnect from inside AdiIRC e.g. via "/server chat.freenode.net -jn #adiirc" or via Server|Server History.
    The only solution is to restart AdiIRC to restore the functionality.

P.S. In all cases the content of nicklistbuttons.ini is ok:

Op:/op $$1 $2 $3 $4 $5
DeOp:/deop $$1 $2 $3 $4 $5
Ban:/ban $$1
Kick:/kick # $$1
SendFile:/dcc send $$1
Query:/query $$1

Actions #3

Updated by Per Amundsen about 4 years ago

  • Subject changed from Nicklist Buttons are not created to Some default options are not set properly when there is no config file
  • Category set to Interface
  • Status changed from New to Resolved
  • Assignee set to Per Amundsen

This seems to only happen when there is no config file which I think is pretty rare, I made it create a empty config file in such cases to ensure defaults are always set.

Actions #4

Updated by Per Amundsen about 4 years ago

  • Status changed from Resolved to Closed
Actions #5

Updated by Kostas K about 4 years ago

Thank you for the quick response.
I tested the new beta version (2020/09/12) in a win10 virtual machine, and unfortunately the STR still occurs: the issue only occurs the first time - if you restart AdiIRC it works ok.

In order to assist you, I've also sent you a video capture of the procedure (4 MB) to your email (I didn't post a link here because my IP was visible in it) .

Actions #6

Updated by Per Amundsen about 4 years ago

I am not able to reproduce this with the last beta.

Actions #7

Updated by Kostas K about 4 years ago

Just to clarify:
it occurs consistently, but only the very first time you run/update to the new beta:
i.e. install 3.8 stable x64 with no settings from previous installation (= no C:\Users\user\AppData\Local\AdiIRC folder),
update to latest beta 3.9 2020/09/12,
then enable the 'Associate AdiIRC with irc:// links' setting,
and open an irc link in a browser, e.g. irc://chat.freenode.net/#adiirc .

The issue only occurs when initially(=for the very first time) opening an irc link. It doesn't occur if you initially use "/server chat.freenode.net -jn #adiirc", instead.
If it helps, the only difference I've noticed between these two methods is that:
if you open an irc:// link, when AdiIRC connects to the #adiirc channel, it automatically switches focus from the freenode server window to the #adiirc window,
while, when typing e.g. "/server chat.freenode.net -jn #adiirc" (in an empty server window), it keeps focus to the freenode server window, it doesn't automatically switch focus to the #adiirc window.

Actions #8

Updated by Per Amundsen about 4 years ago

It doesn't activate the window because you are using the -jn where n means minimize, just using -j does not minimize, this has nothing to do with the issue anyways.

I did exactly as you did in the video including launching from a irc:// link, I was able to reproduce in the previous beta, but not in the current beta.

Actions #9

Updated by Kostas K about 4 years ago

In the virtual machine, I have saved a snapshot right before the moment where I enable 'Associate AdiIRC with irc:// links' and open the irc:// link :
the issue occurs consistentl, every time I restore that snapshot. (I even Updated VMware Workstation to 16.0 today and it still occurred.)

In my everyday AdiIRC installation, it occurred to me only once, when I opened an irc:// link and then I enabled for the first time ever the: View|'Nicklist Buttons' option.
Then it doesn't occur anymore. I haven't managed to find any STR with the everyday installation to provide.

Let's consider this issue fixed, and in case it occurs again, I'll post here.

Thanks for your time and help!

Actions #10

Updated by Per Amundsen about 4 years ago

I have possibly discovered a issue related to how ini files are cached internally which could lead to adiirc not properly detecting a empty/missing ini file and then not generating defaults, I fixed that for next beta.

Actions #11

Updated by Kostas K about 4 years ago

I've updated to the new beta, the issue has never occurred again.
Thanks again!

Actions

Also available in: Atom PDF