Active Topics

 


Reply
Thread Tools
daperl's Avatar
Posts: 2,427 | Thanked: 2,986 times | Joined on Dec 2007
#61
Copyright prohibits me from posting it here, but I ask anyone who cares, look at

line 517 of /usr/share/rtcom-messaging-ui/html/MessagingWidgetsChatConversation.js

and

line 642 of /usr/share/rtcom-messaging-ui/html/MessagingWidgetsSMSConversation.js,

and tell me if the comment and the following code doesn't concern you. If it doesn't, it should. It also might explain a few things. And just in case, my humble apologies if it doesn't mean what I think it means.

In space, no one can hear you scream.
__________________
N9: Go white or go home
 
ToJa92's Avatar
Posts: 1,091 | Thanked: 323 times | Joined on Feb 2010 @ ~
#62
@daperl: Why would they even want to wait one second before requesting?

Sounds very stupid IMO.

Wonder what would happen if you change it to maybe 100?
 
daperl's Avatar
Posts: 2,427 | Thanked: 2,986 times | Joined on Dec 2007
#63
If I read the files copyright correctly, without Nokia's permission we can't disclose any information about the file's contents. I'm not sure I was even within my rights, yet the conversation thread posts changes to these files. So, I don't know, but my opinion is that it warrants discussion.
__________________
N9: Go white or go home
 
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#64
daperl: Interesting.

I assume that you are talking about the artificially introduced 1s delay to allow rendering of the first screen?

Did you try changing the delay? Did it make any difference? Do you think it really takes that long to render a screen of information?
__________________
qole.org --- twitter --- Easy Debian wiki page
Please don't send me a private message, post to the appropriate thread.
Thank you all for your donations!
 
daperl's Avatar
Posts: 2,427 | Thanked: 2,986 times | Joined on Dec 2007
#65
Originally Posted by qole View Post
Did you try changing the delay? Did it make any difference?
I just did. I put it to 1/10th the value. The behavior seems different but I'm not sure it's better. And I changed it back and forth a few times.

Do you think it really takes that long to render a screen of information?
Well, maybe in a Javascript for loop it does, but not anywhere else. I didn't look too closely, but it seems they have a moving window of 100 items with maybe 15 viewable at any one time. So maybe to keep the memory footprint down their playing some prefetching games. But without multi-threading or some form of asynchronous messaging, jerkiness can be expected with this kind of approach. This is a guess.
__________________
N9: Go white or go home

Last edited by daperl; 2010-03-24 at 17:44.
 

The Following User Says Thank You to daperl For This Useful Post:
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#66
Just a warning, I noticed that when making changes to the css file, I had to open the conversation window and then close it, then open it again to see the changes I had made. So you may not be opening the window enough to actually trigger the changes.

EDIT: You're right, though, the change seems to be very subtle...
__________________
qole.org --- twitter --- Easy Debian wiki page
Please don't send me a private message, post to the appropriate thread.
Thank you all for your donations!

Last edited by qole; 2010-03-24 at 17:48.
 
daperl's Avatar
Posts: 2,427 | Thanked: 2,986 times | Joined on Dec 2007
#67
Originally Posted by qole View Post
Just a warning, I noticed that when making changes to the css file, I had to open the conversation window and then close it, then open it again to see the changes I had made. So you may not be opening the window enough to actually trigger the changes.
It might be worse than that. I did a diff on two ps's and noticed no change. rtcomm-messaging-ui is always running, but it should be asking for new .js .css .html files everytime.

The only way to be sure is:

kill -9 <rtcomm-messaging-ui pid>

EDIT:

No change in behavior.
__________________
N9: Go white or go home

Last edited by daperl; 2010-03-24 at 17:52.
 
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#68
No, the only way to be sure is to kill -9 <rtcomm-messaging-ui pid> from space.
__________________
qole.org --- twitter --- Easy Debian wiki page
Please don't send me a private message, post to the appropriate thread.
Thank you all for your donations!
 

The Following User Says Thank You to qole For This Useful Post:
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#69
Originally Posted by daperl View Post
It might be worse than that. I did a diff on two ps's and noticed no change. rtcomm-messaging-ui is always running, but it should be asking for new .js .css .html files everytime.
.
FWIW, it's not rtcomm-messaging-ui that is rendering the webpage. That job belongs to browserd (grep for rtcomm - you should see a browserd process with "rtcomm" in its cmdline). You can also abuse browserd for use in your own program; build the stuff found here: https://garage.maemo.org/plugins/scm.../?root=browser and look through the header files. I have a shitty desktop widget that is doing this and it works, somewhat...
 

The Following User Says Thank You to qwerty12 For This Useful Post:
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#70
Ah, so this browser-neteal stuff is Maemo's gecko equivalent of WRT?
__________________
qole.org --- twitter --- Easy Debian wiki page
Please don't send me a private message, post to the appropriate thread.
Thank you all for your donations!
 
Reply

Tags
firefox, mozilla, web runtime, webkit, wrt


 
Forum Jump


All times are GMT. The time now is 10:01.