mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Oct 2003
Posts: 214
S
Fjord artisan
OP Offline
Fjord artisan
S
Joined: Oct 2003
Posts: 214
If i open a new @Window and put a Background on it (filled or streched) then it won't be resized/moved if i resize the window


one step closer to world domination
Joined: Dec 2002
Posts: 5,463
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 5,463
This is working fine for me here, I am unable to reproduce this.

Joined: Oct 2003
Posts: 214
S
Fjord artisan
OP Offline
Fjord artisan
S
Joined: Oct 2003
Posts: 214
I opened the WIndow with this Parameters:

/window -Bdefhk0o @test

Then i used /background -f @test some.jpg

When i resize the @window now the pic is still at the old size
Here is the result



one step closer to world domination
Joined: Dec 2002
Posts: 788
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 788
By any chance are you setting the background when the window is not at fullscreen?, and then resizing larger?, the background doesnt seem to stretch from what i concluded..

because if you set a background at full screen the window size cant be increased any larger, but from the look of it when you resize SMALLER, all that happens is the window size changes, in reality the image is still in its original size you opened it as.

However, when you open a window thats NOT at full size, the image is loaded to the Height/Width of the actual window, and as a result when you enlarge it you get black space appearing to the bottom/right of the window.. a solution to this might be either to load the background when the window is at fullscreen, or redo the /background command when you change the height/width.

Eamonn.

Joined: Dec 2002
Posts: 2,962
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 2,962
Fill/stretch do seem to cause some messed up background imagery.

Win98SE, 6.15 (Caused by using /background -f and then resizing) :


Actually there's a small chance that this is my computer being weird, it wouldn't be the first time. So if nobody else can reproduce that kind of weirdness then it's probably not a bug in mIRC, just my computer.

Edit: For me the bug only occurs in desktop windows. Regular windows behave just fine.

Last edited by starbucks_mafia; 21/06/04 09:13 PM.

Spelling mistakes, grammatical errors, and stupid comments are intentional.
Joined: Dec 2002
Posts: 788
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 788
heys starbucks_mafia =)

Funky way to splatter Bill all over the window..

However, what type of image is this originally?

Joined: Dec 2002
Posts: 2,962
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 2,962
It's a JPG, however the same thing occurs with PNGs and BMPs.


Spelling mistakes, grammatical errors, and stupid comments are intentional.
Joined: Dec 2002
Posts: 788
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 788
The only thing i can perhaps think of as i cant reproduce this would be that maybe OS related, you know anyone else on 98SE that has this problem?

Eamonn.

Joined: Oct 2003
Posts: 214
S
Fjord artisan
OP Offline
Fjord artisan
S
Joined: Oct 2003
Posts: 214
i use windows XP and the it happens here also - so it has just something to do with "windows"


one step closer to world domination
Joined: Jun 2003
Posts: 5,024
M
Hoopy frood
Offline
Hoopy frood
M
Joined: Jun 2003
Posts: 5,024
I too get that black border with desktop windows, XP Home, 6.15.

If the window is opened, maximised and then filled with /background, and then made smaller, it's fine. If the window is opened and is a normal size in the middle of the screen, then has a background picture put on it and is then maximised, the black border in your screenshot above is displayed.

I have not (yet) tested if this happens in earlier versions and don't know if this is intended behaviour.

Regards,


Mentality/Chris
Joined: Jun 2004
Posts: 8
Nutrimatic drinks dispenser
Offline
Nutrimatic drinks dispenser
Joined: Jun 2004
Posts: 8
When maximising - setting a background - making smaller, a centered background doesn't get moved but stays where it was drawn on the maximised window.

Note: If you click on the Center / Fill / Normal / Stretch / Tile / Photo check again, the background gets back correctly.

Could be a missing "RedrawBackground" message when resizing.

Joined: Dec 2002
Posts: 329
Fjord artisan
Offline
Fjord artisan
Joined: Dec 2002
Posts: 329
This should be fixed in the new mIRC 6.16 that just released;
30.Fixed background display/resize bug with desktop windows.


Link Copied to Clipboard