Edgewall Software
Modify

Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#7475 closed defect (fixed)

Cosmetic bug in mainnav bar background

Reported by: Remy Blank <remy.blank@…> Owned by: Remy Blank
Priority: low Milestone: 0.11.2
Component: general Version: 0.11
Severity: trivial Keywords: patch
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

The background of the mainnav bar is defined by two images, one for the selected tab and one for the others. The size of the images is 128x32 pixels. On screens with dpi > 96, some tabs exceed a width of 128 pixels ("Browse Source", "View Tickets", "New Ticket"), leading to the background repeating horizontally. This shows a visual bug in the selected tab (a grey vertical bar). The first attachment below shows the problem.

Attachments (3)

trac-mainnav-background-bug.png (3.7 KB ) - added by Remy Blank <remy.blank@…> 16 years ago.
Screenshot showing the grey vertical bar in the active tab
topbar_gradient2.png (383 bytes ) - added by Remy Blank <remy.blank@…> 16 years ago.
Horizontally expanded background for active tab
topbar_gradient.png (405 bytes ) - added by Remy Blank <remy.blank@…> 16 years ago.
Hor

Download all attachments as: .zip

Change History (7)

by Remy Blank <remy.blank@…>, 16 years ago

Screenshot showing the grey vertical bar in the active tab

by Remy Blank <remy.blank@…>, 16 years ago

Attachment: topbar_gradient2.png added

Horizontally expanded background for active tab

by Remy Blank <remy.blank@…>, 16 years ago

Attachment: topbar_gradient.png added

Hor

comment:1 by anonymous, 16 years ago

Since the image is just a vertical gradient, wouldn't it be more appropriate to have it be just 1px wide and tiled/stretched as necessary?

comment:2 by Remy Blank <remy.blank@…>, 16 years ago

(Wow, that reply was fast!)

The attachment:topbar_gradient2.png is an expanded version of the original background. I repeated the rightmost pixel column until the width of the image was 192 pixels.

While not strictly necessary, I performed the same operation for attachment:topbar_gradient.png for consistency.

The original image is not strictly a gradient. There is a bevel on the top and on the left of the image. But yes, maybe it should be converted to an image that can be repeated seamlessly horizontally.

comment:3 by Remy Blank, 16 years ago

Resolution: fixed
Status: newclosed

A double-width topbar_gradient2.png image has been committed in [7470]. topbar_gradient.png already repeats seamlessly, so it was not changed.

comment:4 by Christian Boos, 16 years ago

Milestone: 0.11.2
Owner: set to Remy Blank

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Remy Blank.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Remy Blank to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.