#142 Shortcut doesn't open ext. editor in FF14.0.1

open-accepted
5
2012-07-30
2012-07-23
Baeks
No

the external edito doesn't start via shortcut - only via contextmenu.
If the shortcut is executed within a editable/search field, it still opens the editor, but only shows the content of the editable field.

Discussion

  • Baeks

    Baeks - 2012-07-30

    JS Console says
    TypeError: webNavigation.document.body is null
    chrome://viewsourcewith/content/urldownloader.js
    line: 169

     
  • Davide Ficano

    Davide Ficano - 2012-07-30

    Mozilla changed something inside their code and I've no time to try to fix it

     
  • Davide Ficano

    Davide Ficano - 2012-07-30
    • status: open --> open-accepted
     
  • marena

    marena - 2012-07-31

    Authors of Web Developer toolbar ( http://chrispederick.com/work/web-developer/ ) has released new version about month ago and their solution works. Maybe you can get inspired?
    It's interesting that when I switch predefined save method from "Normal" to "DOM document", VSW works. But it shows generated source instead of the original one, of course.

     
  • fuuta

    fuuta - 2012-10-04

    I dont know particular reason, but now it works.
    In function loadFromCache of urldownloader.js
    addProgressListener call twice

    this.progress.addProgressListener(this, nsIWebProgress.NOTIFY_STATE_DOCUMENT);
    this.progress.addProgressListener(this, nsIWebProgress.NOTIFY_STATE_DOCUMENT);

    Although an error, but it works and seems to be no problem.
    loadFromCache [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIWebProgress.addProgressListener]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: chrome://viewsourcewith/content/urldownloader.js :: <TOP_LEVEL> :: line 152" data: no]

     
  • fuuta

    fuuta - 2012-10-10

    i took detour..
    we don't bother to edit the file.
    just in about:config
    view_source.editor.external = true

    it works fine on fx16 and winXp

     
  • Baeks

    Baeks - 2012-10-10

    yes, I use the about-config workaround too, as it seems that this issue here won't be fixed

    although it was too nice to use a more handfriendly shortcut (e.g. ctrl+A) with VSW...

     
  • Roman Beslik

    Roman Beslik - 2012-11-30

    Here (Firefox 16.0.1) ViewSourceWith does not work even via contextmenu. "view_source.editor.external" helped.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks