Force QVGA Compile BooBoo

Discussion in 'Beta Versions' started by Mr_Gee, Sep 12, 2008.

  1. Mr_Gee

    Mr_Gee Active Member Licensed User

    I just installed my compiled app on my VGA phone
    and the menu items are way too big, it seems like the application
    is not only doubling the Form, but also the menu items

    Screenshot attached.

    To be sure I compiled it again with and without Force QVGA and only the latter has this issue..
     

    Attached Files:

  2. agraham

    agraham Expert Licensed User

    Have you seen this on any other app and prior to 6.42? The reason for asking is that I got Erel to explain to me the "magic" of what happens in ForceQVGA and it is actually the device doing all the rescaling because it thinks it is running a .NET 1.0 application in backward compatibility mode. So I don't think that 6.42 itself can have broken.
     
  3. Mr_Gee

    Mr_Gee Active Member Licensed User

    No, not that I can recall...
     
  4. agraham

    agraham Expert Licensed User

    I assume that you optimised compiled it. What happens if you legacy compile and run it with and without the config.exe file? This then gives four scenarios to analyse.
     
  5. Mr_Gee

    Mr_Gee Active Member Licensed User

    I'll try to do this this weekend. and post the results here
     
  6. Erel

    Erel Administrator Staff Member Licensed User

    Can you also post your source code (including images)?
     
  7. Mr_Gee

    Mr_Gee Active Member Licensed User

    Sure, here you go

    Please note for this to work you need to be a Dutch T-Mobile subscriber
    and have the W'nW + subscrition.

    @Agraham
    I've tried to test it, but that didn't work,
    Legacy = works, but icons are smaller (Force QVGA is not available)
    Optimal + Force QVGA = the issue
    Optimal + Force QVGA - config.exe = same issue
    Legacy + config.exe = I don't see how this is possible (I tried to rename the files but nothing)
     
  8. agraham

    agraham Expert Licensed User

    :signOops: typo! I meant ...exe.config :sign0013:
     
  9. Mr_Gee

    Mr_Gee Active Member Licensed User

    I thought so :) , so I renamed the XXX.exe.config
    to T-Tv-Legacy.exe.config (same as the legacy compiled exe)

    but that didn't work either, also i'm a bit unsure how you meant it,
    the legacy.exe doesn't have any "links" to the exe.confg
    so how is it going to load it?
     
    Last edited: Sep 15, 2008
  10. agraham

    agraham Expert Licensed User

    The exe.config file is used for legacy compiled apps, which are .NET 1.0 aps, and for ForceQVGA optimised compiled apps whose starter exe is a .NET 1.0 app. Basically it tells .NET to run the app with the latest Framework on a device that has more than one Framework installed. If you only have one Framework installed then the exe.config file does nothing and the app will run as long as it was targetted at the installed Framework or earlier.

    I suggested trying a legacy compile with and without it as I believe that VGA devices automatically run .NET 1.0 apps pixel doubled but not .NET 2.0 or later apps. I was wondering if the exe.config file specifying the latest Framework was interfering with that process somehow.

    EDIT:- By "With it" I meant with it in the app folder, "without it" meaning deleted from the folder.
     
    Last edited: Sep 15, 2008
  11. Mr_Gee

    Mr_Gee Active Member Licensed User

    Thanks agraham,
    But I think the problem lies deeper,

    I just tried to create an application on the mobile IDE and when I clicked
    one of the menu items I got the same huge menu
    (image attached)

    I'm using Dutty's V1.9 full ROM for the Diamond
    (it has CFNET 3.5 build in already )
     

    Attached Files:

  12. agraham

    agraham Expert Licensed User

    Looks like that menu has been pixel doubled twice. That's a hacked ROM isn't it, are you sure it is not down to that?
     
  13. Mr_Gee

    Mr_Gee Active Member Licensed User

    I prefer to call it a custom ROM ;-)

    It could be, I' probably flash another version this week, so i'll post here if it solved the problem...
     
  14. Mr_Gee

    Mr_Gee Active Member Licensed User

    Flashed v2.0 the issue isn't there anymore...

    Sorry to have wasted all your time :-/
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice