LC10 DP3 - app fullscreen/fullscreenmode no longer possible?

Bringing your stacks to the web

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
williamdesmet
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 66
Joined: Tue Jun 26, 2012 7:07 pm

LC10 DP3 - app fullscreen/fullscreenmode no longer possible?

Post by williamdesmet » Sat Mar 26, 2022 1:42 pm

Hi There,

In LC10 DP2 I used code (from another HTML5 thread) to show my web app fullscreen and centered.

Code: Select all

on openStack
if the environment is "development" 
then 
set the fullscreen of me to false
else
set the fullscreenmode of me to "showAll"
set the fullscreen of me to true
end if
end openStack
In DP3 this doesn't work anymore.
Is there another way to do this?

Or do we now have to make the canvas fullscreen and centered by CSS or javascript code?
Anyone knows how to do this?

Greetings,

William

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9359
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: LC10 DP3 - app fullscreen/fullscreenmode no longer possible?

Post by richmond62 » Sat Mar 26, 2022 7:19 pm

First question has to be: What platform is that on?

Over 'here' (MacOS 12.3):

On the desktop . . .

[Not sure how a stack can be 'development' when rendered as a web app]
-
SShot 2022-03-26 at 20.29.57.png
-
Works: and:
-
SShot 2022-03-26 at 20.30.53.png
-
Works as well.

But this:

Code: Select all

on openStack
   if the environment is "development" 
   then 
      set the fullscreen of this stack to false
   else
      set the fullscreenmode of this stack to "showAll"
      set the fullscreen of this stack to true
   end if
end openStack
Does NOT work in either LC 10 DP3 or LC 9.6.3

Nor does this (in either version of LC):

Code: Select all

on openStack
if the environment is "development" 
then 
set the fullscreen of me to false
else
set the fullscreenmode of me to "showAll"
set the fullscreen of me to true
end if
end openStack
Attachments
Full_Screener.livecode.zip
Stack.
(10.39 KiB) Downloaded 116 times

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9359
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: LC10 DP3 - app fullscreen/fullscreenmode no longer possible?

Post by richmond62 » Sat Mar 26, 2022 9:02 pm

In DP3 this doesn't work anymore.
When did this work?

williamdesmet
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 66
Joined: Tue Jun 26, 2012 7:07 pm

Re: LC10 DP3 - app fullscreen/fullscreenmode no longer possible?

Post by williamdesmet » Sat Mar 26, 2022 11:03 pm

@ Richmond: this worked for me with web/html5 apps in DP 1 and DP 2 on macOSX 11.5.2
The thread I mentioned with the code:
viewtopic.php?p=197720#p197720

williamdesmet
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 66
Joined: Tue Jun 26, 2012 7:07 pm

Re: LC10 DP3 - app fullscreen/fullscreenmode no longer possible?

Post by williamdesmet » Sun Mar 27, 2022 5:35 pm

And to illustrate what I mean you can follow these links to my site:

LC 10 DP2 https://lc10dp2.camelcaps.nl

LC10 DP3 https://lc10dp3.camelcaps.nl

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9359
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: LC10 DP3 - app fullscreen/fullscreenmode no longer possible?

Post by richmond62 » Sun Mar 27, 2022 6:14 pm

Unfortunately, Brave browser gives me 2 blank pages. :(

Ah . . . just took donkey's ages to load (which is another problem).

-
SShot 2022-03-27 at 20.15.35.png
-

Kangaroo SW
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 33
Joined: Sat Jan 15, 2011 10:57 am

Re: LC10 DP3 - app fullscreen/fullscreenmode no longer possible?

Post by Kangaroo SW » Mon Mar 28, 2022 9:44 am

I can confirm that this is no longer working, please file a bug request in the quality center

Cheers
Kangaroo SW

williamdesmet
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 66
Joined: Tue Jun 26, 2012 7:07 pm

Re: LC10 DP3 - app fullscreen/fullscreenmode no longer possible?

Post by williamdesmet » Tue Mar 29, 2022 12:11 pm


Post Reply

Return to “HTML5”