[05 Apr 2009] Possible Bug?

Contains all messages from the Hollywood mailing list between 01/2006 and 08/2012
Locked
User avatar
Allanon
Posts: 742
Joined: Sun Feb 14, 2010 7:53 pm
Location: Italy
Contact:

[05 Apr 2009] Possible Bug?

Post by Allanon »

Note: This is an archived post that was originally sent to the Hollywood mailing list on Sun, 05 Apr 2009 17:52:13 -0000

Hello Andreas,

executing the following line:

Code: Select all

ChangeDisplaySize(400, 400, { x = 10, y = 10 })
changes the size of the display but does not move it at 10, 10, instead the display is centered to the screen like in HW3.

I'm missing something?

Regards, Fabio.
----------------------------
[Allanon] Fabio Falcucci | GitHub (leaving) | Gitea (my new house) | My Patreon page | All my links
PEB
Posts: 591
Joined: Sun Feb 21, 2010 1:28 am

[05 Apr 2009] Re: Possible Bug?

Post by PEB »

Note: This is an archived post that was originally sent to the Hollywood mailing list on Sun, 5 Apr 2009 12:21:05 -0700 (PDT)

It works correctly for me---Hollywood 4.0, OS4.x version.
User avatar
Allanon
Posts: 742
Joined: Sun Feb 14, 2010 7:53 pm
Location: Italy
Contact:

[06 Apr 2009] Re: Possible Bug?

Post by Allanon »

Note: This is an archived post that was originally sent to the Hollywood mailing list on Mon, 06 Apr 2009 07:06:42 -0000

I've noticed the problem under WinUAE OS3.1, can you try it? I've not tested yet any other OSes.

Regards, Fabio
----------------------------
[Allanon] Fabio Falcucci | GitHub (leaving) | Gitea (my new house) | My Patreon page | All my links
User avatar
airsoftsoftwair
Posts: 5914
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

[06 Apr 2009] Re: Re: Possible Bug?

Post by airsoftsoftwair »

Note: This is an archived post that was originally sent to the Hollywood mailing list on Mon, 06 Apr 2009 15:23:28 +0200
I've noticed the problem under WinUAE OS3.1, can you try it? I've not tested yet any other OSes.
I tried it under OS3.9 and MorphOS 2.2. Both work fine.
User avatar
Allanon
Posts: 742
Joined: Sun Feb 14, 2010 7:53 pm
Location: Italy
Contact:

[07 Apr 2009] Re: Possible Bug?

Post by Allanon »

Note: This is an archived post that was originally sent to the Hollywood mailing list on Tue, 07 Apr 2009 20:58:22 -0000

I've catch the problem :) If I start my app with, for example, a display of 500x200, when I try to resize to the same size the function will discard my x and y positions because no resize is needed. :P

Regards, Fabio
----------------------------
[Allanon] Fabio Falcucci | GitHub (leaving) | Gitea (my new house) | My Patreon page | All my links
User avatar
airsoftsoftwair
Posts: 5914
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

[08 Apr 2009] Re: Re: Possible Bug?

Post by airsoftsoftwair »

Note: This is an archived post that was originally sent to the Hollywood mailing list on Wed, 08 Apr 2009 10:46:22 +0200
I've catch the problem :) If I start my app with, for example, a display of 500x200, when I try to resize to the same size the function will discard my x and y positions because no resize is needed. :P
Yes, ChangeDisplaySize() will silently exit if the specified dimensions are the same as the current ones. You have to use MoveDisplay() in that case :)
Locked