Modify

Opened 14 years ago

Last modified 14 years ago

#7249 assigned defect

"my template" box in the wrong place

Reported by: nathaniel@… Owned by: Richard Liao
Priority: normal Component: TracTicketTemplatePlugin
Severity: minor Keywords: HTML page structure misplacement
Cc: Trac Release: 0.11

Description

I'm using firefox 3.6.3 on Windows Vista Business (6.0, Build 6001), and have just installed this plugin. All seems to work fine but there is an aesthetic issue in that when creating a new ticket the "my template" box appears in the wrong place (see attachment firefox_screenshot.jpg), for internet explorer 8 things look even worse (see attachment ie_screenshot.jpg).

Is it just something to do with my setup? or something more inherent?

Attachments (3)

firefox_screenshot.jpg (66.0 KB) - added by anonymous 14 years ago.
ie_screenshot.jpg (56.5 KB) - added by anonymous 14 years ago.
20110315_my-templates-misplacement_FF3.png (48.6 KB) - added by Steffen Hoffmann 14 years ago.
my templates combobox still misplaced in Trac0.13dev without long field titles

Download all attachments as: .zip

Change History (10)

Changed 14 years ago by anonymous

Attachment: firefox_screenshot.jpg added

Changed 14 years ago by anonymous

Attachment: ie_screenshot.jpg added

comment:1 in reply to:  description ; Changed 14 years ago by Richard Liao

Status: newassigned

Replying to nathaniel@nag.co.uk:

I'm using firefox 3.6.3 on Windows Vista Business (6.0, Build 6001), and have just installed this plugin. All seems to work fine but there is an aesthetic issue in that when creating a new ticket the "my template" box appears in the wrong place (see attachment firefox_screenshot.jpg), for internet explorer 8 things look even worse (see attachment ie_screenshot.jpg).

Is it just something to do with my setup? or something more inherent?

The reason is some field titles, such as Environment, are too long. They distend the whole properties block over my template block. The easiest solution is lessen these field titles.

comment:2 in reply to:  1 ; Changed 14 years ago by nathaniel@…

Replying to richard:

Replying to nathaniel@nag.co.uk:

I'm using firefox 3.6.3 on Windows Vista Business (6.0, Build 6001), and have just installed this plugin. All seems to work fine but there is an aesthetic issue in that when creating a new ticket the "my template" box appears in the wrong place (see attachment firefox_screenshot.jpg), for internet explorer 8 things look even worse (see attachment ie_screenshot.jpg).

Is it just something to do with my setup? or something more inherent?

The reason is some field titles, such as Environment, are too long. They distend the whole properties block over my template block. The easiest solution is lessen these field titles.

Ah, I understand. Unfortunately I'm working for a company who need the Environment field title to be that length. Do you think it will be fixed in the next release? Also if you need any help, let me know how I can be of service, not that I currently have any experience of hacking trac, but I'm willing to learn.

comment:3 in reply to:  2 ; Changed 14 years ago by Richard Liao

Replying to nathaniel@nag.co.uk:

Replying to richard:

Replying to nathaniel@nag.co.uk:

I'm using firefox 3.6.3 on Windows Vista Business (6.0, Build 6001), and have just installed this plugin. All seems to work fine but there is an aesthetic issue in that when creating a new ticket the "my template" box appears in the wrong place (see attachment firefox_screenshot.jpg), for internet explorer 8 things look even worse (see attachment ie_screenshot.jpg).

Is it just something to do with my setup? or something more inherent?

The reason is some field titles, such as Environment, are too long. They distend the whole properties block over my template block. The easiest solution is lessen these field titles.

Ah, I understand. Unfortunately I'm working for a company who need the Environment field title to be that length. Do you think it will be fixed in the next release? Also if you need any help, let me know how I can be of service, not that I currently have any experience of hacking trac, but I'm willing to learn.

You can do a quick hack yourself, find this line, modify

right: -160pt;

I will try to fix this too.

comment:4 in reply to:  3 Changed 14 years ago by anonymous

Replying to richard:

Replying to nathaniel@nag.co.uk:

Replying to richard:

Replying to nathaniel@nag.co.uk:

I'm using firefox 3.6.3 on Windows Vista Business (6.0, Build 6001), and have just installed this plugin. All seems to work fine but there is an aesthetic issue in that when creating a new ticket the "my template" box appears in the wrong place (see attachment firefox_screenshot.jpg), for internet explorer 8 things look even worse (see attachment ie_screenshot.jpg).

Is it just something to do with my setup? or something more inherent?

The reason is some field titles, such as Environment, are too long. They distend the whole properties block over my template block. The easiest solution is lessen these field titles.

Ah, I understand. Unfortunately I'm working for a company who need the Environment field title to be that length. Do you think it will be fixed in the next release? Also if you need any help, let me know how I can be of service, not that I currently have any experience of hacking trac, but I'm willing to learn.

You can do a quick hack yourself, find this line, modify

right: -160pt;

I will try to fix this too.

Is it maybe more of a problem on the trac side of things rather than your template plugin? I just had a thought that if the properties box looked more like the ticket once it has been submitted (i.e. the long lines are wrapped to multiple lines) then things would be ok, as you would be able to rely on the width of the properties box being a fixed width?

Changed 14 years ago by Steffen Hoffmann

my templates combobox still misplaced in Trac0.13dev without long field titles

comment:5 Changed 14 years ago by Steffen Hoffmann

Keywords: HTML page structure misplacement added

This seems like a more general issue, since I observed similar "overlay" situation in the absence of long field descriptions. I've attached the relevant part of a browser window while visiting /newticket with German web_ui localization.

comment:6 Changed 14 years ago by Richard Liao

It's difficult to layout my templates box here, anyone good ideas?

comment:7 Changed 14 years ago by Steffen Hoffmann

Finding commonly supported markup similar rendered by most browsers is a pain. I'm not a HTML/CSS guru, but who knows? Sure, at least I'll take a look at it.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as assigned The owner will remain Richard Liao.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.