Success! Looks like we've fixed this one. According to our records the fix was applied for DSGNR-1308 in a recent build.
  1. #1
    Sencha User
    Join Date
    Jan 2012
    Posts
    15
    Vote Rating
    0
    tfd is on a distinguished road

      0  

    Exclamation Linux Code Editor Cursor does not match where you are typing

    Linux Code Editor Cursor does not match where you are typing


    Just been testing Designer 2. Brilliant ideas! You guys were probably high on the past few months!

    One minor bug:
    in the code editor, when typing new lines, the cursor seems to run away from the code after a few characters. eg add a tool click event and in the code of the event, try typing in: alert('hello world');
    After typing the l the cursor is one character further to the right than where you are typing. By the time you get to the first ' it is about 5 characters to the right of the text, making editing code very, uhm, difficult, tricky, challenging, lets settle on fun, but with limited patience

    One major bug:
    Create a new 4.0 project. Add a viewport containing a panel containing a label. Leave everything as default. Saving and exporting results in nothing being displayed and nothing picked up by firebug. The project defaults to 4.0.2a, but the same results seem to happen for 4.0.7. Not sure if its related, but no designer_includeOrder.txt gets deployed and creating it manually does not resolve the issue.

  2. #2
    Sencha User
    Join Date
    Jan 2012
    Posts
    15
    Vote Rating
    0
    tfd is on a distinguished road

      0  

    Thumbs up


    It turns out that export on Linux, does not add this line to designer.js:
    Code:
        autoCreateViewport: true,
    Once added, project displays fine.

  3. #3
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,197
    Vote Rating
    119
    aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold

      0  

    Default


    Quote Originally Posted by tfd View Post
    the cursor seems to run away from the code after a few characters
    Could you give us a screenshot? This was happening on windows before we made sure that the system was using the proper font within the code editor. I'm guessing that none of the fixed width fonts we are using are installed on your system.


    Quote Originally Posted by tfd View Post
    One major bug:
    Create a new 4.0 project. Add a viewport containing a panel containing a label. Leave everything as default. Saving and exporting results in nothing being displayed and nothing picked up by firebug. The project defaults to 4.0.2a, but the same results seem to happen for 4.0.7.
    Are you deploying this to a webserver and loading it over http?

    Quote Originally Posted by tfd View Post
    Not sure if its related, but no designer_includeOrder.txt gets deployed and creating it manually does not resolve the issue.
    This is just coincidence and does not cause the project to work.
    Aaron Conran
    @aconran
    Sencha Architect Development Team

  4. #4
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,197
    Vote Rating
    119
    aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold

      0  

    Default


    Quote Originally Posted by tfd View Post
    It turns out that export on Linux, does not add this line to designer.js:
    Code:
        autoCreateViewport: true,
    Once added, project displays fine.
    Could you send us the project? Is this option enabled on Application? Do you have a view marked as the initial view?
    Aaron Conran
    @aconran
    Sencha Architect Development Team

  5. #5
    Sencha User
    Join Date
    Jan 2012
    Posts
    15
    Vote Rating
    0
    tfd is on a distinguished road

      0  

    Default


    I've attached a zip file containing 2 screenshots and a test project.

    Screenshot 1 shows the cursor issue and the other show the test project with the view indicated as initial view.

    The sample project has basically no code. Its just a label on a panel on a viewport. I deploy it to my apache installation on my local machine. Deploying to a shared webhost give the same results.

    I use Designer 2.0.0 Build 268 64 bit on Ubuntu 11.10. I have the default Ubuntu fonts installed as well as the fonts from the MS Core fonts package which includes Windows fonts such as Courier New.

    Hope this helps.ext_test.zip

  6. #6
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,197
    Vote Rating
    119
    aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold

      0  

    Default


    I think (hope) that the screenshot in the zip file named Screenshot at 2012-02-01 07/27/58.png has been corrupted. It has a bunch of scrambled lines and bright colors.
    Aaron Conran
    @aconran
    Sencha Architect Development Team

  7. #7
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,197
    Vote Rating
    119
    aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold

      0  

    Default


    Quote Originally Posted by tfd View Post
    The sample project has basically no code. Its just a label on a panel on a viewport. I deploy it to my apache installation on my local machine. Deploying to a shared webhost give the same results.
    Click on Application in the top right hand side of the inspector. Check the autoCreateViewport option in the bottom right hand side of the grid. Save the project and it should start working.
    Aaron Conran
    @aconran
    Sencha Architect Development Team

  8. #8
    Sencha User
    Join Date
    Jan 2012
    Posts
    15
    Vote Rating
    0
    tfd is on a distinguished road

      0  

    Default


    Thanks, feel a bit silly now, not noticing that.

    I've attached the screenshot of the cursor.
    shot1.png

  9. #9
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,197
    Vote Rating
    119
    aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold

      0  

    Default


    Thanks, we'll see if we can make an environment where we can reproduce the issue.
    Aaron Conran
    @aconran
    Sencha Architect Development Team

  10. #10
    Sencha User
    Join Date
    Jan 2012
    Posts
    15
    Vote Rating
    0
    tfd is on a distinguished road

      0  

    Red face


    Thanks.

    Just for my reference, which font do you use on Windows to resolve the issue?

    I can install that in the mean time and let you know if using the same font on Linux resolves it.

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi