Item10037: Attachment tables don't adjust to right page border in pattern
Priority: Enhancement
Current State: Confirmed
Released In: n/a
Target Release: n/a
An issue with the way FW renders attachment tables in 1.1.2:
In my test case I use Pattern Skin with the sidebar on the right, displaying in Firefox 3.6.12. In case there is a long filename, the attachment table will always display this in full in one line, thus pushing following items over the page border. I'll attach a
screenshot.
--
HolstenerLiesel - 17 Nov 2010
This is a problem with right sidebars. How
should it look like?
--
ArthurClemens - 17 Nov 2010
It's not a problem with right sidebars, the same thing happens with a left bar: instead of adjusting its width along with the grey frame that's drawn around it the attachment table is going over the right edge into nothingness. In the specific test case I posted a browser window needs to be at least 1000 px wide for the table not to overlap.
--
HolstenerLiesel - 17 Nov 2010
I understand you have a problem, and I agree. But the solution is not clear to me.
The main problem is that the file names can be long (as in your case) and push away the table columns to the right. The solution I have found so far is to hack the display of file names to replace underscores with a space. Then the file name column will not get that wide in most cases.
--
ArthurClemens - 17 Nov 2010
I'm not a developer and so I honestly don't know how this issue can be solved cleanly. It just occurred to me this was a pretty ugly bug, most likely experienced by a lot of users. It seems like the minimum width of any attachment table is just too great to allow for decent compatibility. There is for example no way an attachment table will ever be correctly displayed on my netbook, no matter
how short the filename is.
Maybe there could just be a horizontal scrollbar once the table gets wider than the main page, like it's done with elements inside of verbatim tags?
--
HolstenerLiesel - 20 Nov 2010
I think the final solution should be to not use a table at all, but a sortable search results display for attachments. But this is not a short term solution of course.
--
ArthurClemens - 20 Nov 2010