Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.

Zune & Borderless Windows

Last updated on 3 months ago
D
deadwoodAROS Dev
Posted 3 months ago
I'll see if I can fix both of these issues when I work on next version of Odyssey
A
ASiegelJunior Member
Posted 3 months ago
@deadwood

Thanks for the response. I tested with 32bit AROS.

As for borderless, etc. only being settable during window creation, I was not aware of this.

Clearly, someone forgot to update the MUI documentation offered for MorphOS. The fullscreen feature of Odyssey has been opening a borderless window for a very long time.

It is quite useful for numerous types of applications too.
D
deadwoodAROS Dev
Posted 3 months ago
I create two tickes for those issues:

https://github.co...issues/214
https://github.co...issues/215

If your issues with Width_Screen was happening on 64-bit AROS, try adding (IPTR) cast to the MUIV_ value. It might be that negative value is not correctly sign-exteneded.
D
deadwoodAROS Dev
Posted 3 months ago
Hi,

I checked how Odyssey 3.0 behaves and indeed it does not go to full screen. There are two issues here: borders and size.

Borders: Borderless, DragBar, CloseGadget and DepthGadget seems to apply only during creation of window. They are not settable in Zune after window has been created. I checked the only docs for AmigaOS4 MUI as well as MorphOS 3.16 SDK and in both cases these attrubutes are also marked as "I". So MorphOS MUI having these attributes settable is either a hidden feature or something that has been added after 3.16.

Size: It seems to be either a calculation bug or 64-bit bug with X_Screen(), X_Visible(). Where did you stop this problem? On 64-bit or 32-bit AROS?
A
ASiegelJunior Member
Posted 3 months ago
Hi - Is there a known limitation in Zune that prevents the use of borderless windows?

As far as I can tell, hiding the window title bar and window border decorations does not appear to work.

In Odyssey, the following code is used to enable the fullscreen mode that is available to users via the "View" screen menu.


set(obj, MUIA_Window_Title, NULL);
set(obj, MUIA_Window_Borderless, TRUE);
set(obj, MUIA_Window_DragBar, FALSE);
set(obj, MUIA_Window_CloseGadget, FALSE);
set(obj, MUIA_Window_DepthGadget, FALSE);
set(obj, MUIA_Window_TopEdge, MUIV_Window_TopEdge_Delta(0));
set(obj, MUIA_Window_Width, MUIV_Window_Width_Screen(100));
set(obj, MUIA_Window_Height, MUIV_Window_Height_Screen(100));


Unlike on MorphOS with MUI, this does not appear to work on AROS with Zune.

Enabling the fullscreen mode still shows the close and depth gadgets, the entire window title bar as well as the window borders.

In addition to this, the window size does not appear to get adapted correctly (i.e. enabling fullscreen does not use anywhere close to the full available width and height) but I suppose this is a secondary issue.
You can view all discussion threads in this forum.
You cannot start a new discussion thread in this forum.
You cannot reply in this discussion thread.
You cannot start on a poll in this forum.
You cannot upload attachments in this forum.
You cannot download attachments in this forum.
Users who participated in discussion: deadwood, ASiegel