Jump to content

[Linux] Window.FullScreen and others not implemented?


Recommended Posts

Maybe I'm just making a really silly mistake but in case I'm not...

 

So I went into the App.lua of the MyGame demo project and tried to adjust the window creation for full screen and after reading the documentation and some forum posts this should be the proper syntax right?

 

self.window=Window:Create(self.title,0,0,1920,1080,Window.FullScreen)

 

All the parameters except Window.FullScreen seem to do what they are supposed to do but all I get is a window with the specified resolution.

 

In fact I seem to have issues with most of these flags.

 

Window::Titlebar: the window will have a titlebar with text shown.

What's that even do? The window always has a titlebar for me even without this flag.

 

Window::Resizable: the window will be resizable and have minimize and maximize buttons.

This one is quite funny, the window always has a maximize and minimize button unless I set this flag then the maximize button disappears.

 

Window;:Hidden: the window will be initially hidden on creation.

Only flag that seems to work as intended and it is the only one that gets highlighted in blue by the script editor.

 

Window::FullScreen: the window will take up the entire screen, and the screen resolution will be changed to match the window size.

As already explained this does nothing.

 

(Then there is Center but that only appears in the root documentation page for Window and not within the Create page. Also doesn't do anything either way.)

  • Upvote 1
Link to comment
Share on other sites

I can basically confirm this bug now. My mini benchmark from the other thread has revealed that it doesn't go full screen for anybody under Linux and somebody tested in under Wine (so the Windows version) where it did default to full screen.

Link to comment
Share on other sites

  • 1 month later...

So, how are you progressing in dealing with this issue?

 

If you are still having trouble with this you should seriously consider using SDL2 (http://libsdl.org/)

You have attended the talks on Steam Devs Days yourself and they all said that you should absolutely use this.

 

Context and Window creation and management is just the thing SDL2 is awesome at taking over for you. You should also consider plugging it into the editor.

 

It will also make Leadwerks ready for when X11 is replaced by Wayland/Mir.

 

You have made many sane middleware choices with Leadwerks by sticking to Open Source projects, this one will be the sanest of them all.

  • Upvote 2
Link to comment
Share on other sites

  • 1 month later...
  • 3 months later...
  • 2 weeks later...
Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...