Modify

Opened 4 years ago

Closed 4 years ago

#8533 closed defect (fixed)

Columns sometimes invisible

Reported by: anonymous Owned by: ChrisNelson
Priority: normal Component: TracJsGanttPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

The summary of my tasks in some cases are long. If this the case the columns resource, duration, etc are invisible.

Is it possible to have a line break in the summary or a param for cutting the summary or a scroll bar for it?

In my case from the beginning of the 30th character the columns are disappear.

Attachments (2)

lost_columns.JPG (67.2 KB) - added by anonymous 4 years ago.
with_columns.JPG (80.2 KB) - added by anonymous 4 years ago.

Download all attachments as: .zip

Change History (9)

comment:1 Changed 4 years ago by ChrisNelson

  • Status changed from new to assigned

I've done some work to clip the summary to a fixed, maximum width and have it show up in full as a tool tip if you hover the mouse pointer over the task. I haven't pushed that to TH yet.

comment:2 Changed 4 years ago by didley@…

I will show you what I mean:


And I got also no tool tip.

Do I cut my summaries than I got this and the columns are visible


Thanx in advance

Changed 4 years ago by anonymous

Changed 4 years ago by anonymous

comment:3 Changed 4 years ago by ChrisNelson

Yes, I know what you mean and I have it fixed here but it's tangled with other changes and I have to work out how to put it on TH.

comment:4 Changed 4 years ago by ChrisNelson

(In [9891]) Truncate extra long task names (but show them as a tool tip). Refs #8533.

Also fix some style errors.

The Firefox web developer plugin noted the incorrect use of "=" in place
of ":" in a "style=" value.

is not valid in CSS and the line was way too long.

Fix bad selector in CSS.

[http://stackoverflow.com/questions/4831482/what-does-mean-at-the-start-of-a-css-selector
Stack Overflow] leads to
[http://forums.devshed.com/css-help-116/new-hack-ie-double-dot-and-comment-hack-310475.html
a comment] which says it's a dumb old IE hack.

Making ".." into "." at the start of each line seemed to have no bad
effect (the Gantt viewed in IE still looks fine) and WB doesn't
complain about the .css file any more.

Someone had already reported this as a jsGantt
issue.

comment:5 Changed 4 years ago by didley@…

Dear Chris,

now I'm using r9891. If I use for example

TracJSGanttChart(colorBy=owner, dateDisplay=yyyy-mm-dd, format=quarter, openLevel=1)

the list is empty. If I use

[[TracJSGanttChart(sample=1)]]

the list is empty also. No error comes up.

Now I will use r9845 again.

Best regards

didley

comment:6 Changed 4 years ago by didley@…

Now with r10045 works this for me also.

Thanx

comment:7 Changed 4 years ago by ChrisNelson

  • Resolution set to fixed
  • Status changed from assigned to closed

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.