Bug #1785
copyright table columns out of proportion
| Status: | Closed | Start date: | 04/10/2012 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | % Done: | 0% |
||
| Category: | Copyright | |||
| Target version: | 2.1.0 | |||
| Rank: | Tester: |
Description
See attached screenshot. It shows hugely wide Count and Files columns. The entire table is so wide that I can't get a screenshot of it on my 1920 px wide monitor.
History
Updated by Mary Laser about 1 year ago
- Assignee set to larry shi
- Priority changed from Normal to High
assigning to Larry
Updated by larry shi about 1 year ago
- Status changed from New to In Progress
1920 px wide monitor? it is so large, I can not reproduce it, also do not know the reason, will address it tomorrow.
Updated by Bob Gobeille about 1 year ago
This is a browser and data related issue.
For data use: http://ftp.osuosl.org/pub/cherokee/LATEST_is_1.2.101/cherokee-1.2.101.tar.gz
The wide columns are a problem on my mac with Chrome and Safari, but not Firefox.
Updated by Bob Gobeille about 1 year ago
- Status changed from In Progress to Resolved
- Assignee changed from larry shi to Bob Gobeille
Solved by limiting content to 150 (arbitrary) characters. This prevents super long copyright content from confusing Chrome/Safari.
Fixed in svn 5783
Updated by larry shi about 1 year ago
- Status changed from Resolved to Feedback
Bob Gobeille wrote:
Solved by limiting content to 150 (arbitrary) characters. This prevents super long copyright content from confusing Chrome/Safari.
Fixed in svn 5783
I do not think "SELECT substring(content from 1 for 150) " is one correct solution,
that will just get part of the content.
it seems that reason is becuase the code below in /usr/local/share/fossology/copyright/ui/hist.php :
469 $V .= "<table border=0 width='100%'>\n";
470 $V .= "<tr><td><a name=\"statements\"></a>$text: <a href=\"#emails\">$text1</a> | <a href=\"#urls\">$text3</a></td><td></td> tr>\n";
471 $V .= "<tr><td valign='top' width='50%'>$VCopyright</td><td valign='top'>$VF</td></tr>\n";
472 $V .= "<tr><td><a name=\"emails\"></a>Jump to: <a href=\"#statements\">$text2</a> | <a href=\"#urls\">$text3</a></td><td></td> </tr>\n";
473 $V .= "<tr><td valign='top' width='50%'>$VEmail</td><td valign='top'></td></tr>\n";
474 $V .= "<tr><td><a name=\"urls\"></a>Jump To: <a href=\"#statements\">$text2</a> | <a href=\"#emails\">$text1</a></td><td></td> </tr>\n";
475 $V .= "<tr><td valign='top' width='50%'>$VUrl</td><td valign='top'></td></tr>\n";
476 $V .= "</table>\n";
$VCopyright, $VEmai , $VUrl are 3 tables, put them as td into the uper table.
but the firefox resolve this scenario different with IE, Chrome and Safari.
for now, I do not know how to fix this issue.
Updated by Mary Laser about 1 year ago
- Status changed from Feedback to Resolved
fixed in svn 5783, http://fossology.svn.sourceforge.net/fossology/?rev=5783&view=rev
Updated by Mary Laser about 1 year ago
- Status changed from Resolved to New
- Priority changed from High to Normal
- Target version changed from 2.0.0 to 2.0.1
please review post-2.0
Updated by Paul Holland 12 months ago
- Status changed from New to Resolved
- IterNum set to 2
Should be resolved. Need to validate.
Updated by Mary Laser 9 months ago
- Target version changed from 2.0.1 to 2.1.0
Updated by Bob Gobeille 9 months ago
- Status changed from Resolved to Closed