Menu

each content tab should fallback to display some/any "default" text

sandax
2014-08-02
2014-08-04
  • sandax

    sandax - 2014-08-02

    When the webpage being viewed (or image, or local file) lacks a suitable "title", currently CD displays no text for the tab label. Impossible to glance and tell which-tab-is-which

    Across various browsers, I think the longstanding convention (expected behavior) is to strip the protocol (er, scheme) prefix from the URL and display the first XX characters of the URL

     
    • Stefan Fröberg

      Stefan Fröberg - 2014-08-02

      Yea, will fix this.

       
    • Stefan Fröberg

      Stefan Fröberg - 2014-08-02

      Hmmm, this is interesting. For images QtWebKit seems to automatically replace title with the filename part of URL (for both local and remote).
      https://www.dropbox.com/s/syrrtqwgfdzd5vh/CyberDragonEmptyTitleTest.png
      https://www.dropbox.com/s/um1a6gkvavngu62/CyberDragonEmptyTitleTest2.png

      Also, firefox seems to put the full URL with scheme into tab if title is missing so that's what Im going to also do with pages missing title.

       

      Last edit: Stefan Fröberg 2014-08-02
    • Stefan Fröberg

      Stefan Fröberg - 2014-08-04

      Fixed now in PATCH_CyberDragon_1.6.4_Logger_and_other.zip

       

Anonymous
Anonymous

Add attachments
Cancel