Hi Richard,

Thanks for this clarification.
I wrote off list to Jon telling him:

Before speaking about a bug or even a dysfunction, all this should need some tests to know if Rev adjusts the windowBoundingRect according to the presence, the side, etc. of the task bar or just keeps x pixels at the bottom of the screen on Windows, at the top on Mac OS. No time to dig in now: I'll release a new amazing plug-in to morrow ;-)

So, you did it yet.
Thank you :-)

Le 13 juil. 05 à 19:03, Richard Gaskin a écrit :

Jon wrote:

Eric,
Thanks. On my windows system, the task bar is on the left, not on the bottom; and it auto-hides, rather than always being visible. So, the correct behavior on my system would be for all applications to expand to fill the screen. On other computers, this might NOT be the correct behavior. Simply setting the windowsBoundingRect to the screenRect would be correct on my computer, but might screw someone else up.
This defect seems to me to be a minor bug in Rev.  Do you agree?


It would be if the windowBoundingRect were fixed to one size for all machines. But it's not: it's calculated dynamically when the app starts, based on system calls which tells it the location and size of these elements.

It does a reliable job of accounting for the OS X Dock in all positions and sizes I've tested, and seems to do well with the Task Bar on Windows in all sizes I've tested on. I haven't tested with a placement on the sides, but since it's using system calls for this I'd be surprised if it didn't also do that one well; if not then yes, that would be a bug.

The engine initializes the windowBoundingRect to be the full size of the main display less these trimmings. The Rev IDE changes it to also account for its toolbar, which your app can do also if it needs to support a toolbar.


Best Regards from Paris,

Eric Chatonet.
----------------------------------------------------------------
So Smart Software

For institutions, companies and associations
Built-to-order applications: management, multimedia, internet, etc.
Windows, Mac OS and Linux... With the French touch

Free plugins and tutorials on my website
----------------------------------------------------------------
Web site        http://www.sosmartsoftware.com/
Email        [EMAIL PROTECTED]/
Phone        33 (0)1 43 31 77 62
Mobile        33 (0)6 20 74 50 86
----------------------------------------------------------------

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to