Pages

Sunday, July 27, 2014

Dropbox Qt problems on Symbian

Hello there,

*Update: FilesPlus got update with a fixed version, you can get it via AppList or meeki.mobi/download

you may have noticed that some Symbian apps like cuteBox, Dropian or FilesPlus can't login into Dropbox anymore.
I recently read multiple reports about this on Delight Blog, Symbian Forums or via Email. Most of them claimed a bug on Delight side, but that's not true:

Some users tested it on original firmware or other custom firmware like The One by Daniel or Mohican by Xeon, all have the same issues, the problem can be a:

a) reboot directly without of a usual shutdown (like a system application crash or stack overflow)
b) like a) but with a reboot loop
c) simple app crash
d) full freeze of the phone

if you try to login with your Dropbox account inside of the apps. Thanks to the testers (like Allstar Software, Ade and Adan from Symbian FTW and Matthew from the comments below) for these information! The mentioned applications are QtQuick based GUI apps which use QtWebKit to show the login page, so the issue must be there.
A reboot can mean a stack overflow, but we don't really know what's the problem without of debugging an own Qt build what's not possible on Symbian. It's not related to JavaScript because it happens even with disabled JavaScript, so it seems to be related to the HTML code.

My guess about this: It seems like it's a QtWebKit bug which was unknown before and recent updates on Dropbox's login page uncoverd it. It affects Symbian Belle Refresh and FP2 and Anna for sure, maybe also s60v5, could somebody check that?

To test your device open this link: https://www.dropbox.com/1/oauth/authorize?oauth_token=sf0AFWhTDbJHtmnU&oauth_callback=&display=mobile (the Dropbox login link of the free app FilesPlus) in a Qt based browser like Star Browser, it will load a bit and than reboot your device. The default Nokia browser or Opera Mobile will show the usual login page without of any issues.

We can hope that Nokia/Microsoft Mobile will bring an update for us, but I doubt that.
Updating Symbian Belle Refresh and FP2 to the latest Qt (Core, GUI, Mobility, Quick, WebKit etc.) versions would require a firmware update -> which means a lot of work -> which means coasts and they probably don't want to spend much money on Symbian. We can see that because they killed the Nokia Internet Radio server, and running this one wasn't expensive for sure, or via the Gallery ShareUI services, which are broken (most of them) and there's still no fix.
Sadly we can't try to compile the latest 4.8.6 for Symbian, because that would require a paid compiler and Symbian Belle PDK, which isn't public.


I only can tell you that the support from our side is still there and that the Delight isn't dead yet. Symbian is still the only mobile phone OS I am using and that won't change in the next weeks, and even after that I don't plan to leave the scene. Updates for the 808 and N8 will come for sure and Eric will care about the other devices and translation in his free time.

Regards,
Fabian (huellif)

21 comments:

  1. Can Belle Refresh users check this issue? I only tested Belle FP2 and am not sure about Refresh which uses a slightly older version of Qt (WebKit).
    Thanks in advance!

    ReplyDelete
  2. Using StarBrowser, that link crashed the app on the first try and fully locked it the second try.

    ReplyDelete
  3. Thank /you/ for supporting our phones, and us, mate ;)

    ReplyDelete
  4. still waiting newest delight CFW for N8 :D

    ReplyDelete
  5. Do you have a few sample user agent strings for the devices/apps affected by the bug?

    (I work for Dropbox, and I updated the oauth page a while ago. I can add an exception for Symbian, though, and display the old page instead.)

    ReplyDelete
  6. Hello Dima,

    thank you very much for your help!
    If you can do that it would be very cool for all of us, here a few Symbian user agents (not of the Dropbox apps, but maybe useful for you):

    StarBrowser, that's a Qt based browser which has the bug:
    Mozilla/5.0 (Symbian; U; Nokia808 PureView; en-GB) AppleWebKit/534.3 (KHTML, like Gecko) Mozilla/5.0+(Symbian/3;+Series60/5.2+Nokia808PureView/113.010

    AnyBrowser, again a buggy Qt browser:
    Mozilla/5.0 (Symbian; U; Nokia808 PureView; en-GB) AppleWebKit/534.3 (KHTML, like Gecko) Mozilla/5.0 (Linux; U; Android 4.0.3; ko-kr; LG-L160L Build/I... (I can't copy the whole String)

    Opera Mobile, which hasn't the bug:
    Opera/9.80 (S60; SymbOS; Opera Mobi/SYB-1204232256; U; en-GB) Presto/2.10.254 Version/12.00

    the default Symbian Browser, which hasn't the bug:
    Mozilla/5.0 (Symbian/3; Series60/5.5 Nokia808PureView/113.010.1508; Profile/MIDP-2.1 Configuration/CLDC-1.1 ) AppleWebKit/535.1 (KHTML, like Gecko) NokiaBrowser/8.3.2.21 Mobile Safari/535.1 3gpp-gba


    Does this help or do you need more?
    If you can filter the "Symbian; U" part it could be enough.

    Thanks in advance!

    Regards,
    Fabian

    ReplyDelete
  7. Just added a check for "Symbian; U". See if that helps.

    ReplyDelete
  8. Thank you Dima!
    Now we can load the login page, but unfortunatley it reboot after pressing the login button.
    Did you revert all login changes for "Symbian; U" or just the first page?

    Regards

    ReplyDelete
  9. unless nokia release pdk 3.0.3 u can't do anything :(

    ReplyDelete
  10. Guys after I searched I found this link.http://qt-project.org/doc/qt-4.8/install-symbian.html
    The link shows how to build qt 4.8.6 libraries for symbian
    I wish have a visa card to buy compiler for u but i don't have :(

    PS: Iam android user who like support symbian

    ReplyDelete
  11. Hi mate,
    the Symbian Belle PDK is the bigger problem :-\
    Symbian is totally closed source since an old S^3 version (which was open it some parts only) and the usual Belle SDK doesn't contain all required libs and headers.
    We have no chance to compile it by ourself :(

    Regards

    ReplyDelete
  12. Re the Nokia Internet Radio server - I think it only served to redirect the requests from the Internet Radio application to the actual radio streams. The streams themselves keep working when accessed from the browser. And, interestingly enough, the Internet Radio widget keeps working with the last radio station used. I.e. I cannot change the station in the widget, but I still can play the last station I used via the widget.
    If the Nokia Internet Radio server was only redirecting requests, maybe there is a way to make the application work again - sending requests directly to actual streams? Well, not without the source code I guess. Pity, such a great app!

    ReplyDelete
  13. Nevermind, the solution is:
    1. From the details of your Favourites note the URLs of the actual streams.
    2. Delete your Favourites.
    3. Manually (by entering the stream URL) play the stations and add them it to the Favourites
    Then the playback of the Favourites will work normally. Hallelujah!

    ReplyDelete
  14. Hi here,
    just using my DropBox via FilesPlus on my 808 with original SW. It is probably I signed several months ago and FilesPlus uses a pin authorizations(?)
    I think I will switch to Delight after my warranty is gone.

    ReplyDelete
  15. Hi Natali,


    if you installed it on C:\ don't forget to copy and save the login, otherwise you will never be able to login again.
    Flashing Delight the first time will wipe C:\ first time, so don't forget that.


    BTW: In the USB and EU flashing doesn't confilct with warranty, except the company can proof a hardware issue got caused by that which probably will never happen.

    Regards

    ReplyDelete
  16. Hi Fabian,
    Thank You!
    WOW, I found several aka "config-s" searching for "*filesplus*" , "*Cloud*Drive*", and "*dropbox*" words 8-}
    I installed on E:\ and, in this case, FilesPlus creted several config folders. I copied the whole folders just in case):
    c:\data\.config\FilesPlus.conf (interesting to see listed here CustomQNetworkAccessManager.userAgent.www.dropbox.com="Mozila/5.0...";
    e:\private\20064e45\..\ (this one has my DropboxClient.dat file - you probably meant this one);
    c:\private\20064e45\..\

    DropBox, SkyDrive clients use an encryption or generate pin codes :{ Looks like I never should change my DropBox password! - OMG! I changed my MS account psw yesterday, skydrive/onedrive worked well - just needed to recreate but who knows what is next broken!
    FTP, uses my psw "as is". Also, found here some my GoogleHD .dat files :}

    I know you know better where this staff are but let's read others...
    THANK YOU!!!

    ReplyDelete
  17. I have posted a fixed version (v1.3.3) on my website. Please get it at http://www.meeki.mobi/download

    ReplyDelete
  18. No latest updates regarding FM.??

    ReplyDelete
  19. We provide personal loans for debt consolidation, bad credit loans, unsecured loans, loans for bad credit and instant secured loans with cheap rates Do you have a firm or company that need loan to start up a business or need,personal loan, Debt consolidation? For more information. We will provide you with loan to meet your needs. For more information contact us:greenlightcapitalcorporation@gmail.com

    Application Form:
    =================
    Full Name:................
    Loan Amount Needed:.
    Purpose of loan:.......
    Loan Duration:..
    Gender:.............
    Marital status:....
    Location:..........
    Home Address:..,,,,,,,,,
    City:............
    Country:......
    Phone:..........
    Mobile / Cell:....
    Occupation:......
    Monthly Income:....

    Email Us:(greenlightcapitalcorporation@gmail.com)

    ReplyDelete