LC 8 Browser Widget Rect
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
-
- VIP Livecode Opensource Backer
- Posts: 212
- Joined: Fri Feb 01, 2013 1:31 am
- Location: Palo Alto, CA put williamdjamieso into tEmail / put n@gmail.com after tEmail/ revmail tEmail
- Contact:
LC 8 Browser Widget Rect
Hello,
I just opened up LC 8 for the first time in a while and dropped a browser widget into a new stack, set the url and hit play. The URL and the webpage loaded, but even though my browser object is about 700 x 400 pixels, the only part of the webpage that shows is about 100 x 50 pixels. So it becomes like a browser icon rather than a widget. I figured I am not setting the rect of the display area correctly. Any ideas as to how I might make the rect of the browser fit my screen?
-Will
I just opened up LC 8 for the first time in a while and dropped a browser widget into a new stack, set the url and hit play. The URL and the webpage loaded, but even though my browser object is about 700 x 400 pixels, the only part of the webpage that shows is about 100 x 50 pixels. So it becomes like a browser icon rather than a widget. I figured I am not setting the rect of the display area correctly. Any ideas as to how I might make the rect of the browser fit my screen?
-Will
-
- Posts: 746
- Joined: Sun Feb 04, 2007 11:01 pm
- Location: McKenna, WA
Re: LC 8 Browser Widget Rect
What DP of LC 8 are you running? You don't need to set the rect of the widget.
Tom
MacBook Pro OS Mojave 10.14
MacBook Pro OS Mojave 10.14
-
- VIP Livecode Opensource Backer
- Posts: 212
- Joined: Fri Feb 01, 2013 1:31 am
- Location: Palo Alto, CA put williamdjamieso into tEmail / put n@gmail.com after tEmail/ revmail tEmail
- Contact:
Re: LC 8 Browser Widget Rect
DP 15
Well if the rect of the widget is big, and the browser is tiny, where is the disconnect?
Well if the rect of the widget is big, and the browser is tiny, where is the disconnect?
-
- Posts: 746
- Joined: Sun Feb 04, 2007 11:01 pm
- Location: McKenna, WA
Re: LC 8 Browser Widget Rect
Did you lock the size and position of the widget? I think the disconnect is the connection between the keyboard and the chair.
Tom
MacBook Pro OS Mojave 10.14
MacBook Pro OS Mojave 10.14
-
- VIP Livecode Opensource Backer
- Posts: 212
- Joined: Fri Feb 01, 2013 1:31 am
- Location: Palo Alto, CA put williamdjamieso into tEmail / put n@gmail.com after tEmail/ revmail tEmail
- Contact:
Re: LC 8 Browser Widget Rect
lol obviously.
Yes, i tried it while locked and while not locked on the size. Even when the browser is activated the object is the original size, its just that it only paints the actual web page in a very small rect. When i hit edit mode the rect of the widget does not change.
Any ideas?
-Will
Yes, i tried it while locked and while not locked on the size. Even when the browser is activated the object is the original size, its just that it only paints the actual web page in a very small rect. When i hit edit mode the rect of the widget does not change.
Any ideas?
-Will
Re: LC 8 Browser Widget Rect
Hi Will,
no problem here on OS X El Capitain, the browser content is as big as I dragged the widget and stays at that size,
even if I do not lock its size (lockloc).
Best
Klaus
no problem here on OS X El Capitain, the browser content is as big as I dragged the widget and stays at that size,
even if I do not lock its size (lockloc).
Best
Klaus
-
- Posts: 746
- Joined: Sun Feb 04, 2007 11:01 pm
- Location: McKenna, WA
Re: LC 8 Browser Widget Rect
See if mine works in your machine.
- Attachments
-
- Browser Test.zip
- (1.95 KiB) Downloaded 265 times
Tom
MacBook Pro OS Mojave 10.14
MacBook Pro OS Mojave 10.14
-
- VIP Livecode Opensource Backer
- Posts: 212
- Joined: Fri Feb 01, 2013 1:31 am
- Location: Palo Alto, CA put williamdjamieso into tEmail / put n@gmail.com after tEmail/ revmail tEmail
- Contact:
Re: LC 8 Browser Widget Rect
So your browser works when I copy paste it into my stack however, with EVERY SINGLE PROPERTY BEING THE EXACT SAME, when I pull a browser from the tool palette and load the same URL. The same thing happens.
I have a picture of the difference here. Basically on the browser I created, I can only see 5% of the allowable browser rect compared to your stack. At this point, I have a copy of an object that seems to work no matter what I do to it. So I can just use that to copy paste it into all my projects.
Just weird that I have another copy that wont work no matter what I do to it...
-Will
I have a picture of the difference here. Basically on the browser I created, I can only see 5% of the allowable browser rect compared to your stack. At this point, I have a copy of an object that seems to work no matter what I do to it. So I can just use that to copy paste it into all my projects.
Just weird that I have another copy that wont work no matter what I do to it...
-Will
-
- VIP Livecode Opensource Backer
- Posts: 212
- Joined: Fri Feb 01, 2013 1:31 am
- Location: Palo Alto, CA put williamdjamieso into tEmail / put n@gmail.com after tEmail/ revmail tEmail
- Contact:
Re: LC 8 Browser Widget Rect
oops forgot to attach
Re: LC 8 Browser Widget Rect
Hi Will,
create a simple stack with just one (not) working browser widget, save it, zip it and post it here!
So we can see if it's your machine that is erm... cursed.
Best
Klaus
create a simple stack with just one (not) working browser widget, save it, zip it and post it here!
So we can see if it's your machine that is erm... cursed.
Best
Klaus
-
- Posts: 192
- Joined: Tue Mar 11, 2014 12:57 pm
Re: LC 8 Browser Widget Rect
1). I tried the same in Win 10 - dragged a browser widget - changed the url - created an apk - moved to Android - effectively a 'white-out' browser.
Using your test browser zip it sort of works - except the browser is stuck to the side and resizing doesn't work. In fact if you try set the fullscreenmode - that takes you back to 1) with a white-out browser.
If you try to modify your test browser - delete your browser - drag in a new one to position it - again back to 1).
I thought this might be a way to create useful Android apps with a simple web launcher for web-based apps.
Back to square 1)..
Using your test browser zip it sort of works - except the browser is stuck to the side and resizing doesn't work. In fact if you try set the fullscreenmode - that takes you back to 1) with a white-out browser.
If you try to modify your test browser - delete your browser - drag in a new one to position it - again back to 1).
I thought this might be a way to create useful Android apps with a simple web launcher for web-based apps.
Back to square 1)..
-
- Livecode Opensource Backer
- Posts: 9387
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: LC 8 Browser Widget Rect
Xubuntu 64-bit, LC 8 DP 16
What happens when I click on button "CD 1":
Mind you, I think that most of that is DP 16 on Linux and NOT the "Browser Test" stack.
I have filed BUG 17307
I may have "put my foot in things" as this looks very similar indeed to BUG 16848 that I reported earlier.
What happens when I click on button "CD 1":
Mind you, I think that most of that is DP 16 on Linux and NOT the "Browser Test" stack.
I have filed BUG 17307
I may have "put my foot in things" as this looks very similar indeed to BUG 16848 that I reported earlier.
-
- Posts: 1
- Joined: Tue Jan 12, 2016 3:54 pm
Re: LC 8 Browser Widget Rect
Any fixes for this? Is it just an error on windows machines?
Maybe widgets only compile properly on Mac?
I'm using win7 getting the same issue
In pointer mode: In browse mode:
Maybe widgets only compile properly on Mac?
I'm using win7 getting the same issue
In pointer mode: In browse mode:
-
- Posts: 746
- Joined: Sun Feb 04, 2007 11:01 pm
- Location: McKenna, WA
Re: LC 8 Browser Widget Rect
Here's a stack from my Mac. I created 1 browser by drag and drop and the other from the Object menu. They both work on my machine. See if the work on windows. If they do you can use the information in your bug report.
- Attachments
-
- Browser Test.zip
- (1.35 KiB) Downloaded 265 times
Tom
MacBook Pro OS Mojave 10.14
MacBook Pro OS Mojave 10.14
-
- VIP Livecode Opensource Backer
- Posts: 212
- Joined: Fri Feb 01, 2013 1:31 am
- Location: Palo Alto, CA put williamdjamieso into tEmail / put n@gmail.com after tEmail/ revmail tEmail
- Contact:
Re: LC 8 Browser Widget Rect
I changed to LC 8 RC 1 and it works fine now.
Try just upgrade to the latest version of LiveCode and it should work.
Try just upgrade to the latest version of LiveCode and it should work.