Modify

Opened 9 years ago

Last modified 9 years ago

#12381 new defect

Chart as Milestone description hiding filter box

Reported by: massimo.b@… Owned by: Chris Nelson
Priority: normal Component: TracJsGanttPlugin
Severity: normal Keywords:
Cc: Trac Release: 1.0

Description

I'm adding a

[[TracJSGanttChart(milestone=MS2.0-1)]]

for every milestone as description in order to have the charts in the /roadmap.

If the chart is overlapping the right aligned filterbox, the filterbox gets hidden and is not available anymore.

I tried to work around using a sized box from TracWikiExtras:

{{{#!box align=left width=1000
[[TracJSGanttChart(milestone=MS2.0-1)]]
}}}

This is Trac-1.0.5 and JsGanttPlugin current 0.11 from svn.

Attachments (3)

Trac_JsGantt_01.png (331.4 KB) - added by massimo.b@… 9 years ago.
Screenshot
Trac_JsGantt_02.png (376.4 KB) - added by massimo.b@… 9 years ago.
Multiple milestones
jsgantt-23Feb.zip (75.3 KB) - added by falkb 9 years ago.
worksforme

Download all attachments as: .zip

Change History (22)

comment:1 Changed 9 years ago by Chris Nelson

I'm not sure what you want me to do about this. Is there some style you think I could apply to make it better?

You might try a couple of [[br]] above the chart.

comment:2 Changed 9 years ago by anonymous

Best is to post a screenshot for showing the problem

Changed 9 years ago by massimo.b@…

Attachment: Trac_JsGantt_01.png added

Screenshot

comment:3 Changed 9 years ago by Chris Nelson

Screenshot

comment:4 Changed 9 years ago by Chris Nelson

I don't have time to get this into the repo right now but I think you will find that if you edit jsgantt.css and add overflow-x: auto; to the style for .gantt (the first clause in the file), that the Gantt charts will push down after the filter box. It works for me when I poke the style in Firebug.

comment:5 Changed 9 years ago by massimo.b@…

Thank you for guiding to .css. I tried that, I also tried all other values for overflow-x, and I tried overflow-y. I tried that also without my surrounding box. I compared with Firefox->Tools->Web Developer->Style Editor->jsgantt.css:

.gantt { font-family:tahoma, arial, verdana; font-size:10px; overflow-x:auto }

So the change arrived. But it doesn't change anything in the overlapping.

comment:6 Changed 9 years ago by massimo.b@…

This defect is even worse when adding more than 1 milestones.

The following milestone titles are completely hidden behind the Gantt, this is not related to small sized screens but on every screen size.

comment:7 Changed 9 years ago by falkb

Massimo, which version of SimpleMultiProjectPlugin are you using?

comment:8 Changed 9 years ago by falkb

... because SimpleMultiProject 0.0.4dev-r14620 doesn't show such overlapping problems with the project box for me.

comment:9 Changed 9 years ago by massimo.b@…

The .egg file is named SimpleMultiProject-0.0.4dev_r0-py2.7.egg.

About says SimpleMultiProject 0.0.4dev-r0 /mnt/data/trac/projects/trac-pmp/plugins/SimpleMultiProject-0.0.4dev_r0-py2.7.egg.

Top entry in my local svn log says r14620 too, this one is installed as .egg.

svn update says Updated to revision 14735. I installed that, but still the same issue. How is SimpleMultiProject related to the Gantt style?

comment:10 Changed 9 years ago by falkb

I think I've observed such overlapping problems too, but something has changed that somehow and I don't see that effect anymore here

Changed 9 years ago by massimo.b@…

Attachment: Trac_JsGantt_02.png added

Multiple milestones

comment:11 in reply to:  6 Changed 9 years ago by massimo.b@…

Replying to massimo.b@…:

This defect is even worse when adding more than 1 milestones.

The following milestone titles are completely hidden behind the Gantt, this is not related to small sized screens but on every screen size.

Multiple milestones

Changed 9 years ago by falkb

Attachment: jsgantt-23Feb.zip added

worksforme

comment:12 Changed 9 years ago by falkb

Hi Massimo, as I already said I don't have overlapping with my Windows FF 38.0.1. Please, try SimpleMultiProjectPlugin r14620, my local copy attachment:jsgantt-23Feb.zip (slightly modified), and I use Bitnami Trac-1.0.4. Report back if this scenario works for you, too. If yes, we can start to find the little differences to the non-working scenario.

Last edited 9 years ago by falkb (previous) (diff)

comment:13 Changed 9 years ago by massimo.b@…

Hi Falk,

I tried with FF-37.0.2 (Linux), IE9 (Win7), FF-38.0.5 (Win7): Same issue I tried with SimpleMultiProjectPlugin from svn update -r 14620: Same issue I tried with the attached jsgantt, copied over the 0.11/tracjsgantt from current svn, created/installed new egg: Same issue I don't have Bitnami Trac 1.0.4, but I re-installed 1.0.4 compiled by Gentoo: Same issue

Does that somehow narrow down the issue?

comment:14 Changed 9 years ago by anonymous

What does "copied over" mean? Can you build an .egg file with my sent sources without copying over and then test?

comment:15 Changed 9 years ago by massimo.b@…

How do I build an .egg file from your sources? As I usually did python setup.py bdist_egg that is missing the setup.py on your zip. Therefore I just copied the source from your zip over 0.11/tracjsgantt from current svn.

What is different from the head revision? Can you just submit the version that is working for you right now so we can test the head revision?

comment:16 in reply to:  15 Changed 9 years ago by falkb

Replying to massimo.b@…:

How do I build an .egg file from your sources? As I usually did python setup.py bdist_egg that is missing the setup.py on your zip. Therefore I just copied the source from your zip over 0.11/tracjsgantt from current svn.

OK, in this case, it's all right. That's what I meant.

What is different from the head revision? Can you just submit the version that is working for you right now so we can test the head revision?

It's actually an old revision but with several local hacks of mine. It's my currently running version, and as I said, Trac is working for me without overlapping, so it can't be a version that has an error regarding this ticket.

comment:17 Changed 9 years ago by massimo.b@…

So did you really try to edit a Milestone with this description:

[[TracJSGanttChart(milestone=MS-5.0_shr-1)]]
[[report:19|Report]]

Because I tried with multiple TracJSGanttChart in a Wiki, that is working fine.

The milestone itself also looks fine, the ticket status box is on the upper layer, hiding the Chart -> ok. Only very small windows are breaking the chart itself.

Only the roadmap with filter projects from "SimpleMultiProject" is broken as the filter projects box is hidden. Can we make a bugfix there to have the filter project on top?

comment:18 in reply to:  17 Changed 9 years ago by falkb

Replying to massimo.b@…:

Only the roadmap with filter projects from "SimpleMultiProject" is broken as the filter projects box is hidden. Can we make a bugfix there to have the filter project on top?

Do you use Trac-1.0.4 also? I don't see the overlapping here. No idea how to raise it on top.

comment:19 Changed 9 years ago by massimo.b@…

I'm using trac-1.0.5 but as I said I have switched to 1.0.4 on Gentoo for a quick try and it was the same.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain Chris Nelson.

Add Comment


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

 
Note: See TracTickets for help on using tickets.