mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Jul 2006
Posts: 4,210
W
Wims Offline OP
Hoopy frood
OP Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 4,210
I'm setting up a new mIRC install and I want my windows in mIRC to be maximized.
So I started clicking windows's button icon (only have one channel, #mircscripting, in this test), selecting position > save (and save all as well as set as default (for channel), since i couldn't get it to work) but none of what I tried was working for the channel.


#mircscripting @ irc.swiftirc.net == the best mIRC help channel
Joined: Dec 2002
Posts: 5,509
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 5,509
Thanks for your bug report. I have not been able to reproduce this issue here so far.

I installed a new copy of mIRC in a clean, empty folder, connected to a server, joined a channel, maximized it, and saved its position via the system menu. When I rejoin the channel later, and my windows are not maximized, the channel is maximized on join.

If you can provide a step by step method to reproduce this, please let us know.

Joined: Jul 2006
Posts: 4,210
W
Wims Offline OP
Hoopy frood
OP Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 4,210
1) create empty folder + empty mirc.ini
2) run mirc.exe
3) close the option dialog
4) execute /server irc.swiftirc.net -i randomnicknamehere -j #randomchannelhere
5) execute /exit -nr, this is probably the unexpected step.
6) step 5) created the two entries:
Quote
wchannel=-1,w,-1,h,1,1,0
wchannel-SwiftIRC=-1,w,-1,h,1,1,0
Note that mIRC uses '1' for the window's state (non maximized) instead of 2 (maximized) even if you maximized the channel window before /exiting mIRC.
Note also that mIRC use -1 for x and y even if the window is not maximized before /exiting, I'm not sure that's correct.

I suppose this step is the cause of the issue.

7) execute once again /server irc.swiftirc.net -i randomnicknamehere -j #randomchannelhere
8) click on the icon of #randomchannelhere and select position > save
9) execute /exit -nr
10) step 9) created the two entries:
Quote
#randomchannelhere=x,w,y,h,Z,1,0
#randomchannelhere-SwiftIRC=x,w,y,h,Z,1,0
Note this time that Z correctly represents the state of the channel window (1 or 2) at the time you did position > save.
Note also that mIRC use 0 for x and y if the window is maximized before saving, not -1 like step 6).

With those four entries, mIRC won't maximize the channel window (I only tested the channel on the network given in this report), testing the "save all" option has probably no effect in this case.


#mircscripting @ irc.swiftirc.net == the best mIRC help channel
Joined: Jul 2006
Posts: 4,210
W
Wims Offline OP
Hoopy frood
OP Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 4,210
In fact, even without what happens in my previous post with step 6) I can't get mIRC to get the channel maximized at all.
When I maximize the channel and use position > save (read: I get rid of wchannel= and wchannel-Swiftirc= being in mirc.ini) mIRC create the entries:
Quote
#mircscripting=29,1022,29,592,2,1,0
#mircscripting-SwiftIRC=29,1022,29,592,2,1,0

2 is there, but so is 29 despite the maximized window prior saving, and this also result in non maximized window, probably that the 29 is incorrectly saved and then has priority or something.

So, if you are not able to reproduce it, I would like to know which steps YOU are following to get maximized channel window because using 'set as default' also results in:
Quote
wdchannel=29,1022,29,592,2,1,0
wdchannel-SwiftIRC=29,1022,29,592,2,1,0
with the same result: no maximized window. I'm really curious how you can't reproduce this if the only thing I can do is to reproduce it shocked

Note that I gave /server -j to join the channel in my steps so that it joins a channel easily for you, in reality I'm joining the channel via the favorites feature with the channel being set for swiftirc network only, I don't think it matters but just in case.


#mircscripting @ irc.swiftirc.net == the best mIRC help channel
Joined: Dec 2002
Posts: 5,509
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 5,509
Quote
Note that mIRC uses '1' for the window's state (non maximized) instead of 2 (maximized) even if you maximized the channel window before /exiting mIRC.
That is right, this is what it should be doing here. It will not save the maximized state unless you use the save position option.

Quote
Note also that mIRC use -1 for x and y even if the window is not maximized before /exiting, I'm not sure that's correct.
That is also right. mIRC has used -1 -1 as a non-saved position in [windows] for about thirty years.

I just followed your steps 1 - 6 and 7 - 10 and was unable to reproduce the issue. After step 10, if I /exit -nr and then issue the exact same /server command, mIRC rejoins the channel maximized.

You did not mention that you maximized/restored any windows manually at any point. Based on your original report, this issue is related to saving the windows maximized position? I manually maximized the channel before step 8, so it would save maximized. I then restored all windows before step 9 so that when mIRC restarted, the status window would be non-maximized.

Last edited by Khaled; Yesterday at 11:56 AM.
Joined: Jul 2006
Posts: 4,210
W
Wims Offline OP
Hoopy frood
OP Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 4,210
Quote
Based on your original report, this issue is related to saving the windows maximized position?
It's just that no matter what I do, I can't get mIRC to open the channel maximized. This is a different machine, at home I've been using mIRC for 20 years with maximized channel without any problem. I'll make a video out of it. When I set this new machine up, the screen display was not aligned correctly, aka maximized windows (not just mIRC) xy position would be out of the screen, with the width/height's end also out of the screen, I couldn't get the screen's menu option to fix this (which I did in the past on different screen/machine), after googling about it I had to use Nvidia's app to resolve the issue to shrink things down, could it be related perhaps?

Edit : Ok I tried to reproduce on video on a different mirc install and couldn't, went back to my main install which had the bug and wiped out mirc.ini to try to recreate and couldn't. I finally reproduced it, I was just missing some steps. Video in pm. It looks like the missing steps are actually using the favorites to join minimized, but also the server list to auto connect & minimized.

Last edited by Wims; Yesterday at 06:48 PM.

#mircscripting @ irc.swiftirc.net == the best mIRC help channel

Link Copied to Clipboard