Opened 4 years ago

Last modified 4 years ago

#17899 new defect

Mystery Buttons Appear in Trac Create New Ticket Page

Reported by: huertanix Owned by: qbi
Priority: Low Milestone:
Component: Internal Services/Service - trac Version:
Severity: Minor Keywords: trac,
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

Steps to reproduce:

Log into https://trac.torproject.org

Visit: https://trac.torproject.org/projects/tor/newticket

See mystery squares next to "wysiwyg" radio button. Example attached.

Child Tickets

Attachments (1)

trac_buttons.png (133.3 KB) - added by huertanix 4 years ago.
Screenshot of mystery buttons in Trac New Ticket page.

Download all attachments as: .zip

Change History (5)

Changed 4 years ago by huertanix

Attachment: trac_buttons.png added

Screenshot of mystery buttons in Trac New Ticket page.

comment:1 Changed 4 years ago by cypherpunks

These buttons are supposed to contain toolbar icons. The CSS sprite image should be https://trac.torproject.org/projects/tor/chrome/common/edit_toolbar.png however https://trac.torproject.org/tor.css overwrites the default location to https://trac.torproject.org/edit_toolbar.png which isn't available.

comment:2 Changed 4 years ago by teor

I see this issue in High security mode in Tor Browser, but it works on medium-high, or with JavaScript turned on.

comment:3 in reply to:  2 Changed 4 years ago by cypherpunks

Replying to teor:

I see this issue in High security mode in Tor Browser, but it works on medium-high, or with JavaScript turned on.

AFAICT the buttons aren't there when Javascript is off because they can only function with JavaScript (for dynamic insertion of Wiki Markup).

When i posted ticket:17899#comment:1 https://trac.torproject.org/edit_toolbar.png still returned 404. This is no longer the case so the buttons aren't empty anymore.

IMHO tor.css shouldn't overwrite the URL at all (unless it is really a different image, which it isn't) and should only change some colors and tweak the layout which seems to be the point of that style sheet. It would make the style sheet smaller and easier to maintain.

comment:4 Changed 4 years ago by huertanix

Just to be clear, this screenshot is of when I tried creating a new ticket using Chromium, not the Tor Browser.

Note: See TracTickets for help on using tickets.