Opened 6 years ago

Closed 6 years ago

#7860 closed defect (worksforme)

Viewing source in Browse creates file with incorrect MIME-type

Reported by: Charlie Owned by: erikos
Priority: low Milestone: 8.2.0 (was Update.2)
Component: browse-activity Version: not specified
Keywords: 8.2.0:? Cc:
Blocked By: Blocking:
Deployments affected: Action Needed: no action
Verified: no

Description

Trying to view source for a web-page creates a file with a MIME-type that is not the Write/abiword MIME-type that it should create.

Browse-95 and Joyride-2263.

Change History (4)

comment:1 Changed 6 years ago by marco

  • Action Needed changed from never set to diagnose
  • Priority changed from normal to high

comment:2 Changed 6 years ago by kimquirk

  • Keywords 8.2.0:? added

erikos - can you look at this and make a suggestion about how / who / and how much work it would take to fix it?

comment:3 Changed 6 years ago by erikos

Charlie can you add steps to reproduce? When you click directly on start in the palette it will launch browse. If you go to the detailed view and use the start button in the toolbar you can select write to open it.

comment:4 Changed 6 years ago by Charlie

  • Action Needed changed from diagnose to no action
  • Priority changed from high to low
  • Resolution set to worksforme
  • Status changed from new to closed

Okay -- I think I found where I went wrong. The Browse page on the wiki shows the method of opening in Write from the Journal, but the images are old and from pre-joyride builds, so the layout of the Journal is different in the builds I've encountered this issue on.

The menu I needed was on the left-hand side (not the right as in the images), and the drop-down menu for the file's icon (the one I used) didn't provide options either -- the source of my confusion.

In any case, files downloaded from the "View Source" command should have their default MIME-type set to Write (or some equivalent) rather than Browse. If a user is trying to view the source of a page, they sure don't want to just open up the file and have it render as a webpage -- they wouldn't be trying to view the source if they wanted that!

Closing the ticket.

Note: See TracTickets for help on using tickets.