11/24/2011, 05:00 AM
|
#21 (permalink) | |
|
Member
![]() Join Date: Nov 2011
Posts: 26
Likes Received: 5
Thanks: 1
Thanked 5 Times in 2 Posts
|
Quote:
Furthermore, it appears that the pageDimensions callback in BasicWebView.js has been disconnected as early as in enyo-build.js. No wonder it won't fire. Can we actually modify enyo-build.js? |
|
11/24/2011, 12:27 PM
|
#22 (permalink) | |
|
Member
![]() Join Date: Jun 2011
Posts: 241
Likes Received: 61
Thanks: 1
Thanked 167 Times in 66 Posts
|
Quote:
I'm struggling here with patching the right mojo scroller functions, hope to succeed soon.
__________________
TouchPad vKBD patches with working arrow keys iOS-like browser scrollbars for webOS 2.x Disable video pause when minimized for webOS 2.2.x [Ongoing Project] webOS Scrollbars Like my work? Want to support it? Want to thank me?
|
|
11/24/2011, 12:58 PM
|
#23 (permalink) | |
|
Member
![]() Join Date: Aug 2011
Posts: 275
Likes Received: 21
Thanks: 14
Thanked 58 Times in 37 Posts
|
Quote:
|
|
11/25/2011, 03:56 PM
|
#25 (permalink) | |
|
Member
![]() Join Date: Nov 2011
Posts: 26
Likes Received: 5
Thanks: 1
Thanked 5 Times in 2 Posts
|
Quote:
|
|
11/25/2011, 06:44 PM
|
#26 (permalink) |
|
Member
![]() Join Date: Aug 2011
Posts: 1,923
Likes Received: 205
Thanks: 21
Thanked 196 Times in 143 Posts
|
where abouts are you looking, if i might ask?
I've poked around through BasicWebView to do some pretty weird and miraculous stuff..
__________________
GVoice for all webOS devices - for PlayBook - GVoiceA for Android XO - The Subsonic Media Commander - webOS Demo and Full version and PlayBook full version available - Ask500, the webOS polling app ![]() (1:39:33 PM) halfhalo: Android multitasking is like sticking your fingers into a blender |
11/25/2011, 07:44 PM
|
#27 (permalink) |
|
Member
![]() Join Date: Nov 2011
Posts: 26
Likes Received: 5
Thanks: 1
Thanked 5 Times in 2 Posts
|
Did you stumble upon something that would help? BasicWebView is really the only place to look since it's the interface to the browser. I agree, it's a very interesting control with lots of obviously unfinished or untapped parts. But nothing I see in there would help in the remaining task. I'd gladly stand corrected tho.
|
11/28/2011, 06:19 PM
|
#28 (permalink) |
|
Member
![]() Join Date: Jun 2011
Posts: 241
Likes Received: 61
Thanks: 1
Thanked 167 Times in 66 Posts
|
The patch is now in Preware. Get it there.
__________________
TouchPad vKBD patches with working arrow keys iOS-like browser scrollbars for webOS 2.x Disable video pause when minimized for webOS 2.2.x [Ongoing Project] webOS Scrollbars Like my work? Want to support it? Want to thank me?
|
11/29/2011, 11:48 AM
|
#29 (permalink) |
|
Homebrew Developer
![]() Join Date: Dec 2009
Location: Here.
Posts: 624
Likes Received: 82
Thanks: 22
Thanked 167 Times in 84 Posts
|
I don't suppose you guys have run across anything pointing to FPS values during your foray into Enyo? The Pre3 and Touchpad are fully capable of pushing framerates of 60-100 most of the time (as proven by my Mojo FPS Booster patch), but I can't for the life of me find anything that sets Enyo's equivalent to Mojo's targetFPS value.
Also, when running Mojo with a targetFPS of 100, your scrollbars patch seems to significantly lower the FPS, I imagine because of the calling/rendering or something. Any chance you could take a look into it? ![]() Update: It seems to lower scrolling performance in all mojo apps for some reason... Last edited by ShiftyAxel; 11/29/2011 at 12:29 PM. |
11/29/2011, 02:54 PM
|
#30 (permalink) | |
|
Member
![]() Join Date: Jun 2011
Posts: 241
Likes Received: 61
Thanks: 1
Thanked 167 Times in 66 Posts
|
Quote:
My patch makes the browser re-render the scrollbar element on any change in the scroller position. This, of course, might affect the performance and the FPS. -- Sent from my Palm Pre3 using Forums
__________________
TouchPad vKBD patches with working arrow keys iOS-like browser scrollbars for webOS 2.x Disable video pause when minimized for webOS 2.2.x [Ongoing Project] webOS Scrollbars Like my work? Want to support it? Want to thank me?
|
|
12/01/2011, 08:19 AM
|
#31 (permalink) |
|
Member
![]() Join Date: Jul 2007
Location: 泗水 , 印度尼西亚
Posts: 684
Likes Received: 48
Thanks: 137
Thanked 30 Times in 27 Posts
|
When I go to advance search ie: at precentral using TP, I have problem navigate 'search in forum' options. Can you update this patch to add scrollbar so I can navigate it?, keyboard can't be opened so arrow key can't be used.
|
12/06/2011, 03:14 PM
|
#32 (permalink) | |
|
Member
![]() Join Date: Aug 2011
Posts: 275
Likes Received: 21
Thanks: 14
Thanked 58 Times in 37 Posts
|
Quote:
|
|
01/10/2012, 07:05 PM
|
#34 (permalink) | |
|
Member
![]() Join Date: Aug 2011
Posts: 21
Likes Received: 1
Thanks: 1
Thanked 11 Times in 3 Posts
|
Quote:
Code:
scrolledTo: function(a, b) {
this.doScrolledTo(a, b);
},
Code:
scrolledTo: function(a, b,c) {
this.doScrolledTo(a, b,c);
},
Detemining browser dimensions and document scroll offsets and about the middle of the page click on the example "click here" if you look at what on scrolledto returns and what this returns you'll see they are the same magnitude but different signs until the page is zoomed in, then the values in onscrolledto are scaled, but these remain unscaled, so it should be easy to use them to scroll back to the right position. I can't get them to return anything other than 0,0 though when I cut and paste the code into the browser.js scrolledto function. -Henri |
|
01/12/2012, 11:50 AM
|
#35 (permalink) | ||
|
Member
![]() Join Date: Nov 2011
Posts: 26
Likes Received: 5
Thanks: 1
Thanked 5 Times in 2 Posts
|
Quote:
Quote:
All that being said, I don't think it's worth following that particular topic any further. The 3.0.5 update will bring scrollbars to the browser. (Personally, and get your eggs ready, I have moved on to Android. As much as I like WebOS as an OS, the applications built on it are unbearably beta and I don't expect that to improve anytime soon.) |
||
01/12/2012, 04:26 PM
|
#36 (permalink) | |
|
Member
![]() Join Date: Aug 2011
Posts: 21
Likes Received: 1
Thanks: 1
Thanked 11 Times in 3 Posts
|
Quote:
No magic expected, at the time I hadn't realized that the webview was actually sandboxed via the browserserver so expected the document.body to point to the web page not the local filesystem. Now that it has the scroller built in it might be easier to keep the page location when opening up new page, otherwise the scrollto hook would be nice to get. Last edited by hkowalczyk; 01/12/2012 at 06:43 PM. |
|
01/12/2012, 09:42 PM
|
#37 (permalink) |
|
Member
![]() Join Date: Jul 2010
Posts: 135
Likes Received: 14
Thanks: 33
Thanked 21 Times in 19 Posts
|
Now that 3.0.5 has been released to the TP, will the new browser scroll bar code make it possible/easier to create a patch for a functional (as opposed to view-only) scroll bar?
|
01/12/2012, 10:04 PM
|
#38 (permalink) |
|
Member
![]() Join Date: Aug 2011
Posts: 1,923
Likes Received: 205
Thanks: 21
Thanked 196 Times in 143 Posts
|
Probably no different, it is quite likely built into the webview native code, since it works in all webviews
-- Sent from my TouchPad using Communities
__________________
GVoice for all webOS devices - for PlayBook - GVoiceA for Android XO - The Subsonic Media Commander - webOS Demo and Full version and PlayBook full version available - Ask500, the webOS polling app ![]() (1:39:33 PM) halfhalo: Android multitasking is like sticking your fingers into a blender |
01/16/2012, 12:57 AM
|
#39 (permalink) | |
|
Member
![]() Join Date: Jun 2011
Posts: 241
Likes Received: 61
Thanks: 1
Thanked 167 Times in 66 Posts
|
Quote:
__________________
TouchPad vKBD patches with working arrow keys iOS-like browser scrollbars for webOS 2.x Disable video pause when minimized for webOS 2.2.x [Ongoing Project] webOS Scrollbars Like my work? Want to support it? Want to thank me?
|
|
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|



