Komodo / KomodoEdit

Komodo Edit is a fast and free multi-language code editor. Written in JS, Python, C++ and based on the Mozilla platform.
http://www.komodoide.com/komodo-edit
Other
2.16k stars 303 forks source link

Komodo Edit 9 hangs when switch back due to remote files #70

Closed Richzendy closed 8 years ago

Richzendy commented 9 years ago

I'm using Fedora21, when i minimize and maximize the window or when i go to other window and back, Komodo Edit 9 hangs and give me a response in a 3 or 5 seconds, with komodo edit 8 and the same files the response it's quickly, i'm using files on sftp.

That is a video showing the behavior: https://dl.dropboxusercontent.com/u/16073962/out-1.ogv

This is my hardware: http://pcpartpicker.com/p/qB6w6h

Mod edit:

Workaround and cause: https://github.com/Komodo/KomodoEdit/issues/70#issuecomment-87009746

th3coop commented 9 years ago

Hi Richzendy, couple questions:

Just want to narrow down the possible culprits.

Naatan commented 9 years ago

Could you try disabling hardware acceleration?

  1. Open a file
  2. Preview the file "in a browser" but set it to open in a Komodo tab
  3. Replace the file address with about:config to get into the settings
  4. Look for layers.acceleration.disabled and set it to true
  5. Restart Komodo

If that doesnt work - please answer @cgchoffman's questions.

Richzendy commented 9 years ago

I tried, but without any change, i've restarted komodo on each change

Yes, i tried too, but without lucky

On Help / Troubleshooting i have: View log file and Memory usage, do you need any? are usefull to this case?

Naatan commented 9 years ago

The log file could be usefull (after you reproduced the issue).

Could you try disconnecting the NAS mount just to see if it has any effect?

Richzendy commented 9 years ago

I've umounted my NAS, without any effect on Komodo Edit.

The memory report: https://dl.dropboxusercontent.com/u/16073962/memory-report.json.gz

The log:

[2015-03-26 15:17:56,556] [INFO] Startup: Welcome to Komodo Edit 9.0.0 build 15707 (platform linux-x86_64, running on Linux 3.18.9-200.fc21.x86_64 version #1 SMP Mon Mar 9 15:10:50 UTC 2015)
[2015-03-26 15:17:56,556] [INFO] Startup: /bin/python built on Thu Mar 19 06:35:26 2015
[2015-03-26 15:17:56,614] [WARNING] koXMLPrefs: dePickleCache: Can't open file u'/opt/Komodo-Edit-9/lib/support/prefs.xmlc'
[2015-03-26 15:17:56,614] [WARNING] koXMLPrefs: the dePickledCache object was None
[2015-03-26 15:17:56,912] [WARNING] console-logger: mutating the [[Prototype]] of an object will cause your code to run very slowly; instead create the object with the correct initial [[Prototype]] value using Object.create (1) in resource://gre/modules/Preferences.jsm:381
[2015-03-26 15:17:56,913] [WARNING] console-logger: Bootstrapped manifest not allowed to use 'component' directive. (1) in file:///opt/Komodo-Edit-9/lib/mozilla/extensions/scope-files@activestate.com/components/component.manifest:1
[2015-03-26 15:17:56,913] [WARNING] console-logger: Bootstrapped manifest not allowed to use 'contract' directive. (1) in file:///opt/Komodo-Edit-9/lib/mozilla/extensions/scope-files@activestate.com/components/component.manifest:2
[2015-03-26 15:17:56,914] [WARNING] console-logger: Bootstrapped manifest not allowed to use 'interfaces' directive. (1) in file:///opt/Komodo-Edit-9/lib/mozilla/extensions/scope-files@activestate.com/components/component.manifest:3
[2015-03-26 15:17:56,958] [WARNING] root: ko.logging has been converted to a CommonJS module; use require("ko/logging") instead (since Komodo 9.0.0a1).
    @chrome://komodo/content/komodo.js:48:1

[2015-03-26 15:17:57,134] [WARNING] console-logger: Unknown property 'border-radius-top-left'.  Declaration dropped. (1) in less://commando/skin/commando.less:18
[2015-03-26 15:17:57,134] [WARNING] console-logger: Unknown property 'border-radius-top-right'.  Declaration dropped. (1) in less://commando/skin/commando.less:19
[2015-03-26 15:17:57,494] [ERROR] console-logger: bad script XDR magic number (0) in :0
Traceback (most recent call last):
  File "", line 0, in 

[2015-03-26 15:18:01,220] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_4'
[2015-03-26 15:18:01,221] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_5'
[2015-03-26 15:18:01,221] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_2'
[2015-03-26 15:18:01,221] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_3'
[2015-03-26 15:18:01,221] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_1'
[2015-03-26 15:18:01,221] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_change'
[2015-03-26 15:18:01,222] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_local_change'
[2015-03-26 15:18:04,223] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_4'
[2015-03-26 15:18:04,223] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_5'
[2015-03-26 15:18:04,224] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_2'
[2015-03-26 15:18:04,224] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_3'
[2015-03-26 15:18:04,224] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_1'
[2015-03-26 15:18:04,224] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_change'
[2015-03-26 15:18:04,224] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_local_change'
[2015-03-26 15:18:05,294] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_4'
[2015-03-26 15:18:05,294] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_5'
[2015-03-26 15:18:05,294] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_2'
[2015-03-26 15:18:05,295] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_3'
[2015-03-26 15:18:05,295] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_1'
[2015-03-26 15:18:05,295] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_change'
[2015-03-26 15:18:05,295] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_local_change'
[2015-03-26 15:18:06,613] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_4'
[2015-03-26 15:18:06,613] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_5'
[2015-03-26 15:18:06,613] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_2'
[2015-03-26 15:18:06,613] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_3'
[2015-03-26 15:18:06,614] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_1'
[2015-03-26 15:18:06,614] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_change'
[2015-03-26 15:18:06,614] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_local_change'
[2015-03-26 15:18:07,815] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_4'
[2015-03-26 15:18:07,815] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_5'
[2015-03-26 15:18:07,815] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_2'
[2015-03-26 15:18:07,815] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_3'
[2015-03-26 15:18:07,815] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_1'
[2015-03-26 15:18:07,815] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_change'
[2015-03-26 15:18:07,816] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_local_change'
[2015-03-26 15:18:09,158] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_4'
[2015-03-26 15:18:09,158] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_5'
[2015-03-26 15:18:09,158] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_2'
[2015-03-26 15:18:09,158] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_3'
[2015-03-26 15:18:09,158] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_1'
[2015-03-26 15:18:09,159] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_change'
[2015-03-26 15:18:09,159] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_local_change'
[2015-03-26 15:18:10,843] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_4'
[2015-03-26 15:18:10,843] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_5'
[2015-03-26 15:18:10,843] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_2'
[2015-03-26 15:18:10,843] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_3'
[2015-03-26 15:18:10,843] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_1'
[2015-03-26 15:18:10,844] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_change'
[2015-03-26 15:18:10,844] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_local_change'
[2015-03-26 15:18:13,774] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_4'
[2015-03-26 15:18:13,775] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_5'
[2015-03-26 15:18:13,775] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_2'
[2015-03-26 15:18:13,775] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_3'
[2015-03-26 15:18:13,775] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_1'
[2015-03-26 15:18:13,775] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_change'
[2015-03-26 15:18:13,776] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_local_change'
[2015-03-26 15:18:14,888] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_4'
[2015-03-26 15:18:14,889] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_5'
[2015-03-26 15:18:14,889] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_2'
[2015-03-26 15:18:14,889] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_3'
[2015-03-26 15:18:14,890] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_1'
[2015-03-26 15:18:14,890] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_change'
[2015-03-26 15:18:14,890] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_local_change'
[2015-03-26 15:18:16,313] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_4'
[2015-03-26 15:18:16,314] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_5'
[2015-03-26 15:18:16,314] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_2'
[2015-03-26 15:18:16,314] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_3'
[2015-03-26 15:18:16,314] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_1'
[2015-03-26 15:18:16,314] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_change'
[2015-03-26 15:18:16,315] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_local_change'
[2015-03-26 15:18:17,571] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_4'
[2015-03-26 15:18:17,571] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_5'
[2015-03-26 15:18:17,571] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_2'
[2015-03-26 15:18:17,571] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_3'
[2015-03-26 15:18:17,572] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_1'
[2015-03-26 15:18:17,572] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_change'
[2015-03-26 15:18:17,572] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_local_change'
[2015-03-26 15:18:18,650] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_4'
[2015-03-26 15:18:18,651] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_5'
[2015-03-26 15:18:18,651] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_2'
[2015-03-26 15:18:18,651] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_3'
[2015-03-26 15:18:18,651] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_1'
[2015-03-26 15:18:18,651] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_change'
[2015-03-26 15:18:18,652] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_local_change'
[2015-03-26 15:18:19,821] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_4'
[2015-03-26 15:18:19,821] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_5'
[2015-03-26 15:18:19,821] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_2'
[2015-03-26 15:18:19,821] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_3'
[2015-03-26 15:18:19,821] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_1'
[2015-03-26 15:18:19,822] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_change'
[2015-03-26 15:18:19,822] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_local_change'
[2015-03-26 15:18:21,162] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_4'
[2015-03-26 15:18:21,162] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_5'
[2015-03-26 15:18:21,162] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_2'
[2015-03-26 15:18:21,162] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_3'
[2015-03-26 15:18:21,163] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_1'
[2015-03-26 15:18:21,163] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_change'
[2015-03-26 15:18:21,163] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_local_change'
[2015-03-26 15:18:21,482] [WARNING] koSkin: Detected GTK theme via libgtk: Adwaita
[2015-03-26 15:18:21,884] [WARNING] root: ko.findresults was already loaded, re-creating it.

[2015-03-26 15:18:21,915] [DEBUG] places_js: waiting for document complete
[2015-03-26 15:18:28,179] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_4'
[2015-03-26 15:18:28,179] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_5'
[2015-03-26 15:18:28,179] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_2'
[2015-03-26 15:18:28,179] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_3'
[2015-03-26 15:18:28,180] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_1'
[2015-03-26 15:18:28,180] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_change'
[2015-03-26 15:18:28,180] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_local_change'
[2015-03-26 15:18:28,714] [WARNING] console-logger: mutating the [[Prototype]] of an object will cause your code to run very slowly; instead create the object with the correct initial [[Prototype]] value using Object.create (1) in file:///opt/Komodo-Edit-9/lib/mozilla/components/koamAddonManager.js:138
[2015-03-26 15:18:28,945] [ERROR] koPHPLinter: Error getting phpInfoEx.version.  Is a PHP interpreter defined?
[2015-03-26 15:20:53,707] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_4'
[2015-03-26 15:20:53,707] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_5'
[2015-03-26 15:20:53,707] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_2'
[2015-03-26 15:20:53,707] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_3'
[2015-03-26 15:20:53,708] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_1'
[2015-03-26 15:20:53,708] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_change'
[2015-03-26 15:20:53,708] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_local_change'
ERROR:xpcom:Unhandled exception calling 'int8 * collectReports(in nsISomething, in nsISomething, in boolean);'
Traceback (most recent call last):
  File "/opt/Komodo-Edit-9/lib/mozilla/python/xpcom/server/policy.py", line 300, in _CallMethod_
    return 0, func(*params)
TypeError: collectReports() takes exactly 3 arguments (4 given)
ERROR:xpcom:Unhandled exception calling 'int8 * collectReports(in nsISomething, in nsISomething, in boolean);'
Traceback (most recent call last):
  File "/opt/Komodo-Edit-9/lib/mozilla/python/xpcom/server/policy.py", line 300, in _CallMethod_
    return 0, func(*params)
TypeError: collectReports() takes exactly 3 arguments (4 given)
[2015-03-26 15:22:01,893] [WARNING] views: Inconsistent view count in view_closed event
[2015-03-26 15:22:07,608] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_4'
[2015-03-26 15:22:07,608] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_5'
[2015-03-26 15:22:07,608] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_2'
[2015-03-26 15:22:07,608] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_3'
[2015-03-26 15:22:07,609] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_1'
[2015-03-26 15:22:07,609] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_change'
[2015-03-26 15:22:07,609] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_local_change'
Naatan commented 9 years ago

The repeated applyScheme warnings are odd, but probably unrelated. Just to eliminate that though; are you using collab? And do those timestamps correspond to you maximizing the window?

Would you be able to download Komodo IDE (trial) and see if you can reproduce the issue there?

Richzendy commented 9 years ago

Yes, i will, and i'll share my experience here.

I'm not using collab, i use komodo just to write PHP, CSS, HTML and Javascript

I don't know, i think so...

Richzendy commented 9 years ago

I've made some test:

With one sftp file, komodo-9 works fine and fluid With two sftp files, works fine but a little slow compared with one file (almost imperceptible) With three sftp files, but a little slow compared with two files (a little perceptible)

Wich each new sftp file, komodo 9 is more slow and hangs with many

With many local files works great.

I think can be something related with the sftp cache

Naatan commented 9 years ago

I think this forum post is related: http://forum.komodoide.com/t/komodo-9-hanging/1343/7

Could you try Todd's suggestion posted there? Ie.

Open Komodo preferences and select the Editor category, then uncheck the Detect when network files are changed outside the environment.

VeNoMouS commented 9 years ago

Cheers for the find @Naatan , one thing you missed was to enable "Show Advanced" in the bottom left, which I saw in your forum thread.

How ever disabling "Detect when network files are changed outside the environment." didn't do anything for me

I'm running Komodo Edit, version 9.0.1, build 15745, platform linux-x86_64

Naatan commented 9 years ago

Hey @VeNoMouS, can you please open a new bug report? Since this one is very specific and other bugs can have similar symptoms, if it ends up being the same issue we can always mark it as duplicate.

VeNoMouS commented 9 years ago

Fail how to see how its "different" as I'm experiencing the exact same issue, cant type for 5+ seconds after coming back to komodo edit 9 from another application on remote files... does not do it in version 8... but.. what ever i'll create another bug issue...

Naatan commented 9 years ago

It's not because the symptoms are the same that the cause is also the same. You said yourself that the workaround provided here does not work so that implies that you are experiencing a different (but similar) issue.

th3coop commented 9 years ago

More remote file functionality needs to be made async to get this working in a more friendly manner: https://bugs.activestate.com/show_bug.cgi?id=57727

lahdekorpi commented 9 years ago

I'm having the same issue with "Detect when networked files are changed outside the environment" disabled. It is impossible to work using Komodo with a slow connection as it takes tens of seconds to recover after getting focus. Local files work just fine, as does version 8. Making remote file functionality async is a different bug, it seems that version 9 is totally ignoring the configuration option for not checking remote file changes.

lahdekorpi commented 9 years ago

Update: disabling "Detect when files are changed outside the environment" solved the issue. Switching "Detect when networked files are changed outside the environment" on / off has no effect to anything, it still checks the server even if this is disabled.

th3coop commented 9 years ago

@lahdekorpi, that is likely because you have your remote folder mounted locally and therefore Komodo treats it like a local file. "networked" files means you've open the remote folder/file through File > Open > Remote. Thanks for updating though. That will be helpful info for other users.

lahdekorpi commented 9 years ago

@cgchoffman Nope, I'm using the built-in places sidebar connected with the "Open Remote Directory".

This is the main reason for me to be using Komodo as I've got something like 50 different servers and I can easily copy settings from one installation to another.

th3coop commented 9 years ago

@lahdekorpi thank you for updating.

Ruddiger commented 9 years ago

Seeing the same as @lahdekorpi. When I disable only "Detect when networked files are changed outside the environment" it has no effect, even after an app restart on Network Files (SFTP using Open Remote Directory). When I disable both options, it stops lagging. It seems the "Detect when networked files are changed outside the environment" does not function as intended.

Naatan commented 9 years ago

Targeting this for 9.3, just to move the file check to a separate thread. Moving the rest of the remote file stuff to async will be a separate task.

old-mikser commented 9 years ago

Have same problem on 8.5. Installed 9.3 - no changes, same freezes. Also where's option "Detect when files are changed outside the environment" on 9.3? Gone?

old-mikser commented 9 years ago

My bad. Found in in the "all settings". Anyway it doesn't care if i turn in on or off, all the same... Using: Komodo Edit, version 9.3.0, build 16396, platform win32-x86. Win7.

th3coop commented 9 years ago

My bad. Found in in the "all settings". Anyway it doesn't care if i turn in on or off, all the same...

Are you saying this has no effect? It sounds like you're reporting a different issue then.

old-mikser commented 9 years ago

Are you saying this has no effect? It sounds like you're reporting a different issue then.

Yes, this has no effect. I mean i still have same issue with freezing when connecting to ftp (when start komodo or connect from one to another server) and when saving any changes. Disabling "Detect when files are changed outside the environment" and some other settings helped for someone, but not for me and topic starter.

I have the same issue as Richzendy and VeNoMouS. Here it is my log file:

[2015-11-18 02:38:50,262] [INFO] Startup: Welcome to Komodo Edit 9.3.0 build 16396 (platform win32-x86, running on Windows 7 version 6.1.7601) 
[2015-11-18 02:38:50,263] [INFO] Startup: C:\Program Files (x86)\ActiveState Komodo Edit 9\lib\mozilla\komodo.exe built on Fri Oct 30 20:10:45 2015
[2015-11-18 02:38:51,042] [WARNING] console-logger: mutating the [[Prototype]] of an object will cause your code to run very slowly; instead create the object with the correct initial [[Prototype]] value using Object.create (1) in resource://gre/modules/Preferences.jsm:381
[2015-11-18 02:38:51,471] [WARNING] root: ko.logging has been converted to a CommonJS module; use require("ko/logging") instead (since Komodo 9.0.0a1).@chrome://komodo/content/komodo.js:48:1 
[2015-11-18 02:38:52,492] [WARNING] console-logger: mutating the [[Prototype]] of an object will cause your code to run very slowly; instead create the object with the correct initial [[Prototype]] value using Object.create (1) in file:///C:/Program%20Files%20(x86)/ActiveState%20Komodo%20Edit%209/lib/mozilla/components/koamAddonManager.js:138
[2015-11-18 02:38:52,556] [WARNING] keybindings: [Ctrl+0] was used for 'cmd_goToQuickBookmark_0', overriding to use 'cmd_fontZoomReset'
[2015-11-18 02:38:56,086] [ERROR] koScintillaSchemeService: Scheme Tomorrow_Dark is not writeable
[2015-11-18 02:38:56,109] [WARNING] koScintillaSchemeService: Upgraded scheme u'Tomorrow_Dark' from version 14 to 15.
[2015-11-18 02:38:56,826] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_change'
[2015-11-18 02:38:56,828] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'spelling_error'
[2015-11-18 02:38:56,828] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_local_change'
[2015-11-18 02:38:56,831] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_4'
[2015-11-18 02:38:56,831] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_5'
[2015-11-18 02:38:56,831] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_2'
[2015-11-18 02:38:56,831] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_3'
[2015-11-18 02:38:56,832] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_1'
[2015-11-18 02:38:59,397] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_change'
[2015-11-18 02:38:59,398] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'spelling_error'
[2015-11-18 02:38:59,398] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_local_change'
[2015-11-18 02:38:59,398] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_4'
[2015-11-18 02:38:59,398] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_5'
[2015-11-18 02:38:59,398] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_2'
[2015-11-18 02:38:59,398] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_3'
[2015-11-18 02:38:59,400] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_1'
[2015-11-18 02:38:59,891] [ERROR] koPHPLinter: Error getting phpInfoEx.version.  Is a PHP interpreter defined?
[2015-11-18 02:39:00,756] [INFO] elastic_tabstops: Elastic tabstops loaded.
[2015-11-18 02:39:00,910] [WARNING] console-logger: Key event not available on GTK2: key="u" modifiers="control,shift" (1) in chrome://komodo/content/komodo.xul:0
[2015-11-18 02:39:00,910] [WARNING] console-logger: Key event not available on some keyboard layouts: key="v" modifiers="control,alt" (1) in chrome://komodo/content/komodo.xul:0
[2015-11-18 02:39:09,461] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_change'
[2015-11-18 02:39:09,461] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'spelling_error'
[2015-11-18 02:39:09,463] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_local_change'
[2015-11-18 02:39:09,463] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_4'
[2015-11-18 02:39:09,463] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_5'
[2015-11-18 02:39:09,463] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_2'
[2015-11-18 02:39:09,463] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_3'
[2015-11-18 02:39:09,464] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_1'
[2015-11-18 02:39:10,463] [WARNING] console-logger: Key event not available on GTK2: key="u" modifiers="control,shift" (1) in chrome://komodo/content/tail/tail.xul:0
[2015-11-18 02:39:10,466] [WARNING] console-logger: Key event not available on some keyboard layouts: key="v" modifiers="control,alt" (1) in chrome://komodo/content/tail/tail.xul:0
[2015-11-18 02:39:30,641] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_change'
[2015-11-18 02:39:30,642] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'spelling_error'
[2015-11-18 02:39:30,642] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_local_change'
[2015-11-18 02:39:30,642] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_4'
[2015-11-18 02:39:30,642] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_5'
[2015-11-18 02:39:30,644] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_2'
[2015-11-18 02:39:30,644] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_3'
[2015-11-18 02:39:30,644] [WARNING] koScintillaSchemeService: applyScheme:: no indicator for name 'collab_remote_cursor_1'
[2015-11-18 02:39:38,220] [WARNING] console-logger: Key event not available on GTK2: key="u" modifiers="control,shift" (1) in chrome://komodo/content/tail/tail.xul:0
[2015-11-18 02:39:38,223] [WARNING] console-logger: Key event not available on some keyboard layouts: key="v" modifiers="control,alt" (1) in chrome://komodo/content/tail/tail.xul:0    

[2015-11-18 02:38:59,398]

it's when komodo starts

[2015-11-18 02:39:38,223]

when i'm saving changes in any file located on the ftp

Naatan commented 9 years ago

This issue is strictly about switching back to Komodo, not about saving remote files.

Gianca76 commented 8 years ago

I've the same problem, I've already tried all the solutions you suggested without any improvement. :( Komodo Edit, version 9.3.1, build 16424, platform macosx

Naatan commented 8 years ago

If it is the same issue then the workaround should work. If it does not work please report a new issue and provide all the details you can.

tonyattwood commented 8 years ago

Hi,

Look at that stuff, I like it so much, I guess you're gonna like it too. Look at it http://favor.elrevelador.com/e4nrkf

Yours sincerely, tony.attwood@ntlworld.com

tonyattwood commented 8 years ago

Hey friend,

I've read an interesting report lately which is based on hard facts, you may like it I guess, read it here http://fophythoty.ohmygodareyouserious.com/e4fbgm

tony.attwood

tonyattwood commented 8 years ago

Hi!

I've got great news for you, you're going to be really surprised, just take a look http://getrabecru.nytoprovidence.com/e4xja

My Best, tony.attwood

Naatan commented 8 years ago

Closing this in favor of https://github.com/Komodo/KomodoEdit/issues/1959

tonyattwood commented 8 years ago

Hello!

I've got that nice stuff for you, it is awesome. Just take a look at it http://assess.sichildbirth.com/e4puxxf

Speak to you later, tony.attwood

th3coop commented 7 years ago

FYI, this issue has been full resolved now in Komodo 11 https://github.com/Komodo/KomodoEdit/commit/03650e4c018e8c34004e1508c51808db4eda839d