WebPositive gets a bit more stable

Blog post by stippi on Fri, 2010-04-16 14:39

At least it can finally log into Facebook. Not that I am a fan of Facebook, but I realize how important it is for WebPositive to be able to log into that site. Some other seemingly random crashes have a good chance of being fixed, too, since I was able to track down a memory corruption bug that was caused by different parts of the code being compiled with incompatible defines. Unfortunately this took a bit of experiementing until I was finally on the right track. Today I hooked up my quad core machine to temporarily replace my regular Haiku work machine, which is CPU wise a bit underpowered. The insane rebuild times were really getting on my nerves. Even with the quad core it took quite a bit of patience, but to be absolutely sure to compile everything with the right defines, I had to compile... well... everything. Many times.

Otherwise there haven't been great changes to WebPositive. I've implemented scrolling left and right when you have more tabs open than fit into the window. The "Go" button has been integrated into the URL text input. Some display glitches have been fixed in the tab view (not the menu bar, yet), and WebPositive can now pick the correct favicon size from a multi-size favicon.ico. Now that I can finally sleep well again with this Facebook crash fixed, I can probably turn my attention to the many feature requests that you guys have voiced in the comments. Once WebPositive is confirmed stable, I should work on integrating it into the Haiku build as well, to replace BeZillaBrowser as default browser perhaps. During the BeGeistert Coding Sprint, we've also fixed compiling the app_server testing environment under Haiku (where you run a windowed version of the app_server as a regular application, and then test applications inside that environment), so that I can efficiently work on the required new BView features that WebCore needs, most importantly affine transformations. And of course a whole bunch of other stuff, as always. :-)

Meanwhile, I can happily present to you WebPositive Revision 444!

Comments

Re: WebPositive gets a bit more stable

Ah, I'll look into that, thanks for the tip Stephan. Although, Firefox and other browsers handle it correctly. I haven't tried under WebPositive yet (another user reported it), but under Safari, the browser's screen fills up with garbled text when you try to download a 7z file.

Re: WebPositive gets a bit more stable

Hello,

It was indeed the MIME-type not set on the server.

Re: WebPositive gets a bit more stable

HI Stippi,

thx for your wonderful app.

I am using version 488 with Haiku GCC4 hybrid...
I just recognized that the upload in facebook is working. But instead of reporting a successfull upload in the popup... Webpostiv will report a fail, even though the whole pic/video has been uploaded.

Still have problems opening this page: http://www.vidyaprint.de/ it is working in the other Browser.
Please have a look...

Launchpad:
I just tried to figure out the symlink of an app in Launchpad an tried a right click on an icon, just to find out where the app is.
There is still no way to find out the path of an icon by righ clicking it..
Maybe it would be nice to have one?

Re: WebPositive gets a bit more stable

Any way to launch WebPositive in fullscreen mode like -f or something?

Also , what an awesome browser for haiku, doing the os justice!

Re: WebPositive gets a bit more stable

Could it be that some browsers treat any extension as a document, except for select ones, that they know about, instead of the other way around?

Re: WebPositive gets a bit more stable

Hi Stippi,

I'm now running the alpha 2 release candidates every chance I get and have been following the webkit commmits, looking for clues for when the issue I have with logging on to my router's administration page might be fixed. I saw something that looked like you might be working on that and downloaded r479 from the nightlies page only to find that it's still looking for the older versions of libssl and libcrypto. Is there anything us users can do to work around that or is it something that has to be addressed from your end?

Thanks

Alan

Re: WebPositive gets a bit more stable

Quote:

it's still looking for the older versions of libssl and libcrypto. Is there anything us users can do to work around that or is it something that has to be addressed from your end?

You can duplicate the links /boot/common/lib/libssl.so and libcrypto.so and rename the duplicates libssl.so.0.9.8 and libcrypto.so.0.9.8.

Regards,
Humdinger

Re: WebPositive gets a bit more stable

Thanks Humdinger, worked like a charm! How safe is it to do this i.e. trick software into thinking an older version of a library is present by linking to the new library using the name expected?

@Stippi,

You're the man! As of r479, I can now log in to my router's administration page without any unexpected results and all the tasks I've tried so far work as expected! Thanks!

Alan

Re: WebPositive gets a bit more stable

I am happy it works for you! This problem was reported more than once, so it must have annoyed more users. :-)

Re: WebPositive gets a bit more stable

Quote:

How safe is it to do this i.e. trick software into thinking an older version of a library is present by linking to the new library using the name expected?

I don't know... I guess at worst the app will crash at some point. :)

Regards
Humdinger

Re: One more Bug :-)

I can not log in to my online banking account.
For that I go to the page: https://www.1822direkt.com/1822central/cms/47.jsp
after I insert unsername and pin, I press "Zum Online-Banking" - button. A new window is poping up (like in other browsers too), but it is empty, and in the statusbar of that windows it is written: "about: blank finished."
(this happens on webpositve revision 488, on the latest alpha2 (rev 36674) ).

Re: A Wish

And I also have a wish (even it is not yet christmas :-) )
I would like that I can open a link in a new tab without using the context menu. For example by holding alt (or cntrl) and clicking on the link. (in firefox, chrome it works the same).

Re: A Wish

I noticed, that "cntrl + left-click" works for some links, but not for all. For example for the link "Seven Studends to be mentored..." it doesn't work. It seems it works just for links which are underlined, when the mouse-cursor is over them (For example the links in "Source Activity").

Re: WebPositive gets a bit more stable

hi everyone
this comment is for "stippi"

i was wondering (and this is a wish)if it's possible to link the "greentube"app to webpositive as a background app so we can just rightclick on a video and choose "download this video" as it is available on other OS,specialy these days where it's not possible to watch videos in the browser,as youtube has upgraded its flash codecs?
thanks.

Re: WebPositive gets a bit more stable

or... evolve Web+ to support HTML5 fully (video), then we can watch most of YouTube :)

Re: WebPositive gets a bit more stable

HI Stippi,

am happy with web+ its just great.

I love the new fullscreen feature.. neverthleless I miss a X or a close Window button to easy close the window without moving the page down to reach the yellow tab or use the menu...

btw.: If the download path is set not correct you cannot save a desired file...maybe a error message should show up...

Re: WebPositive gets a bit more stable

@Stippi have you considered building webkit and Web+ with PGO enabled for releases or once a week perhaps?

Basically you compile once and run the program vist slashdot, yahoo mail, facebook... gmail and a javascript benchmark or two and then do make clean and pass the option to build with the profiled data..

Supposedly doing that can get some significant proformace increases since gcc doesn't have insight into how certain things happen in the program untill after it runs (which is usually an advantage of jit compilers..)

It would probably boost the javascript numbers even higher... also I have noticed that Web+ pretty much hangs while a page is loading no matter what page I am on.. is there a way to make sure the current page has priority or perhaps the solution is to delay rendering a bit more like firefox does.

http://cboard.cprogramming.com/tech-board/111902-pgo-amazing.html

I think it might be cool to do this for R1 as well... for most all of the program in haiku but that would probably mean an automation suite would be needed.

Re: WebPositive gets a bit more stable

That sounds like a really awesome idea! Go for it!

Bug

another bug: :-)

go to https://www.alice-dsl.de/selfcare/content/segment/kundencenter/meinalice/ and then on the left side press on "Meine Daten"
now a new page with a LOGIN should appear. But in webpositive only an error is shown. In Arora-browser it works. (I'm using the webpositive from haiku-alpha 2).

Re: Bug

I just tried your link here the link is working as expected... I see a login page.. with add "Nutzen Sie alle Möglichkeiten des Kundenservices"... usw...
R1Alpha2...

Re: Bug

Can't reproduce your bug, I see the login page just fine.

Re: Bug

it seems today it works, that means, on the day when I tried it, it was not a bug related to webpositive.

I can remember, on that day, I tried the same page with Arora, and arora gave a certain error-message (i have forgoten which), and asked me if I like to continue despite that errors, and after I pressed on "yes" the login-page was shown.

Perhaps such an option for webpositive would be good too, to be able to continue even if there appear errors.

499 nightly?

hi
i just downloaded the nightly 499,and tried to launch it i got this message "could not open webpositive missing symbol_:ZNK9Blanguage2iDev".
does anyone know how to resolve this?

Re: 499 nightly?

Nightlies of WebPositive require a nightly of Haiku as well. You can't use those on Haiku R1 Alpha2 anymore, sorry. Unfortunately, WebPositive has to use unstable Haiku APIs.

Re: WebPositive gets a bit more stable

Hey Stippi

I am building a Haiku based web kiosk which runs a singular web application, i was wondering if there where any way to launch WebPositive in full screen mode automatically by adding a -f or --kiosk or something, great browser and amazing development speed!

Thanks :)

Feature suggestions

Hello Stippi!

Thanks for your work so far, it’s amazing!

Outside BeOS et al., I’m using Opera. Here are some features, I really like in Opera and I suggest to implement in WebPositive:

  • Inpage search: You hit the dot key, a little popup appears at the lower left corner of the window, you type something and it’s highlighted immediately. (This is how it works in Opera 9, in Opera 10 unfortunately it’s not so neat anymore.) See the picture above. Also I think the highlighting in WebPositive is not strong enough, it’s better in Opera.
  • At the right corner of the tab bar, there is a trash icon. If you click on it, a list with all tabs closed during your session pops up. Furthermore, Alt+Z re-opens the last closed tab.
  • Web search field beside the address field (or search through the address field itself).
  • New windows always open as new tabs.
  • Mouse gestures (somewhen in the future, maybe).

One other thing I noticed in WebPositive: You can’t jump from word to word with Alt+Arrows in text fields on webpages.

Alignment: A new Bug

if you open the following site: https://www.1822direkt.com/1822central/cms/47.jsp
you will see two input fields, one for usename and one for password.
this to input-fields should be aligned one under each other, in webpositive they are not aligned like that, And also the "big button" is on a false position. Compare the site, once opened with webpositive and once with Arora for example.
(I'm using the webpositive that is installed on alpha2).

Re: WebPositive gets a bit more stable

Great work on WePositive. I have a link to share which got me excited, http://smokescreen.us . I was surprise that it worked at well as it did on this browser, it has potential.