Opened 8 years ago

Closed 6 years ago

#706 closed defect (fixed)

using File History to open http URL echoes command with "http" as database

Reported by: Elaine Meng Owned by: Greg Couch
Priority: major Milestone:
Component: Input/Output Version:
Keywords: Cc:
Blocked By: Blocking:
Notify when closed: Platform: all
Project: ChimeraX

Description

If I use command

open http://www.rbvi.ucsf.edu/chimera/docs/feedback.html

it is echoed normally in the Log... however, if I later click the File History icon (blank gray in this case) it is echoed in the Log as

open www.rbvi.ucsf.edu/chimera/docs/feedback.html fromDatabase http

... which is weird, even though it does actually work.

Change History (3)

comment:1 by Tom Goddard, 8 years ago

Owner: changed from Tom Goddard to Greg Couch

The code to handling "open http://..." is treating "http" as the name of a database. Of course that is not a database. And that messes up the file history because it is being told that a database fetch from "http" was done.

I think the implementation of "open http://..." should not treat http as a database, it should be parsed as part of the path by the code that opens local files (e.g. open /tmp/data.pdb).

Greg implemented treating http as a "database" name so I'm reassigning to him to fix it.

comment:2 by Greg Couch, 8 years ago

It's the "Internet" database :-) Still thinking about what to do.

comment:3 by Greg Couch, 6 years ago

Resolution: fixed
Status: assignedclosed

Made it so "files" that are opened in the web browser are not logged in the file history. This is because the files are open asynchronously and may or may not have succecssfully opened. Files that have a known (non-html) suffix are opened directly and will show up in the file history.

Note: See TracTickets for help on using tickets.