Closed Bug 58437 Opened 24 years ago Closed 24 years ago

Fix the ftp and file trees; add a min-height for <treerow>

Categories

(SeaMonkey :: Themes, defect, P2)

defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: jrgmorrison, Assigned: bryner)

Details

(Whiteboard: [rtm++] r=bryner, a=hyatt)

Attachments

(2 files)

Currently, in the skin for directory.xul, which is the tree for ftp://
and file:// listings, the icons for folders, loading and files have
different heights.

This leads to the rows dynamically resizing on certain conditions as the 
loading icon (the spinning arrows) kicks in during the load. Per hyatt,
this puts a lot of stress on the tree code and can lead to situations 
where the child documents of folders are not displayed. 

In the interest of making this tree more stable, we need to add a rule
to modern/blue/classic directory.css that will force the treerows to 
have a min-height of 19px [this is the height that the rows will attain
after the spinning icon kicks in].

This is a very low-risk fix, which can only have an affect on the ftp://
and file:// trees since this CSS is not loaded by any other XUL file in 
the product. [As a side-benefit, it even looks better, although the point
of this bug is to get more stable behaviour at very low cost/risk].

I will attach a patch that makes this change (essentially it's a one-liner
times three skins).

Nominating RTM -- definite end-user benefit, very low risk.

cc: ben as skins owner, 
cc: evaughan since he has a limbo bug that affects the same directory.css 
(but his change is not in any way in conflict with this change).
Keywords: rtm
Marking rtm need info since this is apparent data loss with no obvious
workaround, and the fix is so safe and limited.
Priority: P3 → P2
Whiteboard: [rtm need info]
Target Milestone: --- → M18
r=bryner on jrgm's patch.  hyatt, sr?

Status: NEW → ASSIGNED
Whiteboard: [rtm need info] → [rtm need info] r=bryner, NEED SR=
This needs a SR immediately, if it is going to get in.

cc:ing waterson.
The last line of the patch appears to put a } after the line

	\ No newline at end of file

can that possibly be correct?

Can this change ever have any effect on any tree other than the one you're fixing?
Actually the patch was showing the difference between '}' and '}\n', but 
looks like an addition. (Sorry, my editor insists on adding the newline, so
I switched to notepad to avoid the correction).

This file, directory.css, is pulled in by only one file: directory.xul, which
implements the tree for ftp:// and file:// directory listings. So, no, this 
cannot affect any other tree. This is a very localized, low-risk, solid benefit
fix.
a=hyatt
Whiteboard: [rtm need info] r=bryner, NEED SR= → [rtm+]
Whiteboard: [rtm+] → [rtm+] r=bryner, a=hyatt
checked in on trunk, leaving bug open until decision is made for rtm++
PDT marking [rtm++]
Whiteboard: [rtm+] r=bryner, a=hyatt → [rtm++] r=bryner, a=hyatt
jrgm: will you be available to test this patch / fix on the branch builds from
Saturday morning (once patch is checked in) to make sure other tree areas don't
have regressions and that ftp trees work fine?  Thanks!
Sure, I can come in and do that. Just to be clear: this patch can not affect
any other tree, except for the single file "directory.xul" which includes 
this .css file:
      http://lxr.mozilla.org/seamonkey/search?string=directory.css
      http://lxr.mozilla.org/seamonkey/search?string=directory.xul
which means only the ftp:// and file:// directory viewers.

Nonetheless, I will be looking at the various trees for general sanity 
checking. (By the way, I have already made this .css change in a copy of 
the branch chrome mac/linux/win32 in both skins, and it works fine).
checked in on branch
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
verified with 2000110409 MN6 branch mac/linux/win32 -- row heights have a 
min-height of 19px, avoiding the dynamic resize of the rows. Previously 
verified on trunk.
Status: RESOLVED → VERIFIED
Product: Core → SeaMonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: