-
31 Jan 2012 12:16 AM #1
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.
-
31 Jan 2012 6:26 AM #2
It turns out that export on Linux, does not add this line to designer.js:
Once added, project displays fine.Code:autoCreateViewport: true,
-
31 Jan 2012 8:15 AM #3
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.
Are you deploying this to a webserver and loading it over http?
This is just coincidence and does not cause the project to work.Aaron Conran
@aconran
Sencha Architect Development Team
-
31 Jan 2012 8:15 AM #4
-
31 Jan 2012 9:50 PM #5
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
-
31 Jan 2012 9:55 PM #6
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
-
31 Jan 2012 9:57 PM #7
-
31 Jan 2012 10:06 PM #8
Thanks, feel a bit silly now, not noticing that.
I've attached the screenshot of the cursor.
shot1.png
-
31 Jan 2012 10:25 PM #9
Thanks, we'll see if we can make an environment where we can reproduce the issue.
Aaron Conran
@aconran
Sencha Architect Development Team
-
31 Jan 2012 10:37 PM #10
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.
Success! Looks like we've fixed this one. According to our records the fix was applied for
DSGNR-1308
in
Architect 2.0.


Reply With Quote