[
https://issues.apache.org/jira/browse/XAP-569?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
David Day updated XAP-569:
--------------------------
Description:
Currently, there are two problems with tree table:
1. Vertical lines are not drawn by default--they are transparent. This has the
side effect of seeing text scroll by when more than one column is locked and a
vertical line color is not specified. This is not good.
2. Current behavior is not documented in schema docs. The current default
behavior is not obvious when reading schema docs.
There are three possible solutions to this problem:
1. Append note to verticalLineColor and treeTable schema documentation
explaining the behavior of vertical lines in treeTable (behavior is below) to
make the current behavior obvious to the user.
2. Give vertical lines a color in default style sheet.
3. Vertical lines inherit color from tree table background color.
We will look into one of the solutions next cycle.
The following is an email exchange on this topic:
Alright, thanks for explaining everything!
We'll wait until next cycle to implement one of three possible fixes (these are
current options; there could be another, unspecified, better way):
1. Append note to verticalLineColor and treeTable schema documentation
explaining the behavior of vertical lines in treeTable (behavior is below) to
make the current behavior obvious to the user.
2. Give vertical lines a color in default style sheet.
3. Vertical lines inherit color from tree table background color.
David
________________________________________
From: James Margaris
Sent: Wednesday, August 29, 2007 5:40 PM
To: David Day
Cc: Scott Boyd
Subject: RE: clear vertical lines
There is no purpose other than that we didn't do that.
________________________________________
From: David Day
Sent: Wednesday, August 29, 2007 5:39 PM
To: James Margaris
Cc: Scott Boyd
Subject: RE: clear vertical lines
OK, it seems you're saying this:
verticalLineColor="null" vertical lines in treeTable are not drawn
verticalLineColor="supported value" vertical lines in treeTable are drawn
using value
Shouldn't treeTable have vertical lines by default?
So, currently, we need to document this under treeTable and/or
verticalLineColor schema doc because its not obvious that vertical lines are
not drawn if the optional verticalLineColor attribute is not used.
Treetable should probably have vertical lines by default. But, you're right
that it's not that difficult for the user to specify a verticalLineColor. But
why should they? What do we/they gain with treeTable having no vertical lines
by default? What is the purpose of this?
David
________________________________________
From: James Margaris
Sent: Wednesday, August 29, 2007 5:13 PM
To: David Day
Cc: Scott Boyd
Subject: RE: clear vertical lines
It isn't set at all in the stylesheet, which has the effect of transparent. I
don't know if "transparent" is technically legal or not, but not being set has
that effect.
James
________________________________________
From: David Day
Sent: Wednesday, August 29, 2007 5:12 PM
To: James Margaris
Cc: Scott Boyd
Subject: RE: clear vertical lines
>> In table line colors are white but in other components (tree and treeTable)
>> they are not set at all, which has the effect >> of not drawing them.
Is that to say color value "transparent" is not in default style sheet or not a
color value for verticalLineColor? I don't see it in default style sheet or
client DOM.
Is "transparent" a color value for vertical line color? I don't see it in the
color values in the schema doc for verticalLineColor.
Thanks
David
________________________________________
From: James Margaris
Sent: Wednesday, August 29, 2007 4:58 PM
To: David Day
Cc: Scott Boyd
Subject: RE: clear vertical lines
In table line colors are white but in other components (tree and treeTable)
they are not set at all, which has the effect of not drawing them. It might be
nice to change the behavior slightly but they can always make the tree line
color the same color as the table themselves.
________________________________________
From: David Day
Sent: Wednesday, August 29, 2007 4:54 PM
To: James Margaris
Cc: Scott Boyd
Subject: RE: clear vertical lines
Yep, I didn't know it was supposed to be transparent by default.
It would nice if, by default, the vertical lines between locked columns were
not transparent but the backgroundColor of treeTable or table. Similarly, it
would be nice if verticalLineColor between lockedColumns could be specified
independently of verticalLineColor.
Do you want to add this type of functionality for this release? Or a future
release?
Thanks
David
________________________________________
From: James Margaris
Sent: Wednesday, August 29, 2007 4:07 PM
To: David Day
Cc: Scott Boyd
Subject: RE: clear vertical lines
They can change the color of the vertical lines to whatever they want. If they
set them transparent they are transparent - how is that a bug? That's what
transparent means -- you can see through transparent things.
________________________________________
From: David Day
Sent: Wednesday, August 29, 2007 2:29 PM
To: James Margaris
Cc: Scott Boyd
Subject: clear vertical lines
Hi James,
One more issue with the clear areas of treeTable:
Lock two or more columns and the vertical lines separating the columns is
clear, so rows can be seen in these vertical lines when scrolling other columns
left and right.
Thanks!
David
was:
Currently, there are two problems with tree table:
1. Vertical lines are not drawn by default--they are transparent. This has the
side effect of seeing text scroll by when more than one column is locked and a
vertical line color is not specified. This is not good.
2. Current behavior is not documented in schema docs. The current default
behavior is not obvious when reading schema docs.
There are three possible solutions to this problem:
1. Append note to verticalLineColor and treeTable schema documentation
explaining the behavior of vertical lines in treeTable (behavior is below) to
make the current behavior obvious to the user.
2. Give vertical lines a color in default style sheet.
3. Vertical lines inherit color from tree table background color.
We will look into one of the solutions next cycle.
The following is an email exchange on this topic:
Alright, thanks for explaining everything!
We'll wait until next cycle to implement one of three possible fixes (these are
current options; there could be another, unspecified, better way):
1. Append note to verticalLineColor and treeTable schema documentation
explaining the behavior of vertical lines in treeTable (behavior is below) to
make the current behavior obvious to the user.
2. Give vertical lines a color in default style sheet.
3. Vertical lines inherit color from tree table background color.
David
________________________________________
From: James Margaris
Sent: Wednesday, August 29, 2007 5:40 PM
To: David Day
Cc: Scott Boyd
Subject: RE: clear vertical lines
There is no purpose other than that we didn't do that.
________________________________________
From: David Day
Sent: Wednesday, August 29, 2007 5:39 PM
To: James Margaris
Cc: Scott Boyd
Subject: RE: clear vertical lines
OK, it seems you're saying this:
verticalLineColor="null" vertical lines in treeTable are not drawn
verticalLineColor="supported value" vertical lines in treeTable are drawn
using value
Shouldn't treeTable have vertical lines by default?
So, currently, we need to document this under treeTable and/or
verticalLineColor schema doc because its not obvious that vertical lines are
not drawn if the optional verticalLineColor attribute is not used.
Treetable should probably have vertical lines by default. But, you're right
that it's not that difficult for the user to specify a verticalLineColor. But
why should they? What do we/they gain with treeTable having no vertical lines
by default? What is the purpose of this?
David
________________________________________
From: James Margaris
Sent: Wednesday, August 29, 2007 5:13 PM
To: David Day
Cc: Scott Boyd
Subject: RE: clear vertical lines
It isn't set at all in the stylesheet, which has the effect of transparent. I
don't know if "transparent" is technically legal or not, but not being set has
that effect.
James
________________________________________
From: David Day
Sent: Wednesday, August 29, 2007 5:12 PM
To: James Margaris
Cc: Scott Boyd
Subject: RE: clear vertical lines
>> In table line colors are white but in other components (tree and treeTable)
>> they are not set at all, which has the effect >> of not drawing them.
Is that to say color value "transparent" is not in default style sheet or not a
color value for verticalLineColor? I don't see it in default style sheet or
client DOM.
Is "transparent" a color value for vertical line color? I don't see it in the
color values in the schema doc for verticalLineColor.
Thanks
David
________________________________________
From: James Margaris
Sent: Wednesday, August 29, 2007 4:58 PM
To: David Day
Cc: Scott Boyd
Subject: RE: clear vertical lines
In table line colors are white but in other components (tree and treeTable)
they are not set at all, which has the effect of not drawing them. It might be
nice to change the behavior slightly but they can always make the tree line
color the same color as the table themselves.
________________________________________
From: David Day
Sent: Wednesday, August 29, 2007 4:54 PM
To: James Margaris
Cc: Scott Boyd
Subject: RE: clear vertical lines
Yep, I didn't know it was supposed to be transparent by default.
It would nice if, by default, the vertical lines between locked columns were
not transparent but the backgroundColor of treeTable or table. Similarly, it
would be nice if verticalLineColor between lockedColumns could be specified
independently of verticalLineColor.
Do you want to add this type of functionality for this release? Or a future
release?
Thanks
David
________________________________________
From: James Margaris
Sent: Wednesday, August 29, 2007 4:07 PM
To: David Day
Cc: Scott Boyd
Subject: RE: clear vertical lines
They can change the color of the vertical lines to whatever they want. If they
set them transparent they are transparent - how is that a bug? That's what
transparent means -- you can see through transparent things.
________________________________________
From: David Day
Sent: Wednesday, August 29, 2007 2:29 PM
To: James Margaris
Cc: Scott Boyd
Subject: clear vertical lines
Hi James,
One more issue with the clear areas of treeTable (bug 7974):
Lock two or more columns and the vertical lines separating the columns is
clear, so rows can be seen in these vertical lines when scrolling other columns
left and right.
Also, Kentarou filed bug 8707 showing that the expand/collapse button in
treeTable does not work if the unlocked columns are scrolled.
Thanks!
David
> Tree table does not have vertical lines by default
> --------------------------------------------------
>
> Key: XAP-569
> URL: https://issues.apache.org/jira/browse/XAP-569
> Project: XAP
> Issue Type: Bug
> Components: Widgets: Table/Tree/TreeTable
> Environment: First seen in XAP build of 8/29/07.
> Reporter: David Day
> Priority: Minor
>
> Currently, there are two problems with tree table:
> 1. Vertical lines are not drawn by default--they are transparent. This has
> the side effect of seeing text scroll by when more than one column is locked
> and a vertical line color is not specified. This is not good.
> 2. Current behavior is not documented in schema docs. The current default
> behavior is not obvious when reading schema docs.
> There are three possible solutions to this problem:
> 1. Append note to verticalLineColor and treeTable schema documentation
> explaining the behavior of vertical lines in treeTable (behavior is below) to
> make the current behavior obvious to the user.
> 2. Give vertical lines a color in default style sheet.
> 3. Vertical lines inherit color from tree table background color.
> We will look into one of the solutions next cycle.
> The following is an email exchange on this topic:
> Alright, thanks for explaining everything!
> We'll wait until next cycle to implement one of three possible fixes (these
> are current options; there could be another, unspecified, better way):
> 1. Append note to verticalLineColor and treeTable schema documentation
> explaining the behavior of vertical lines in treeTable (behavior is below) to
> make the current behavior obvious to the user.
> 2. Give vertical lines a color in default style sheet.
> 3. Vertical lines inherit color from tree table background color.
> David
> ________________________________________
> From: James Margaris
> Sent: Wednesday, August 29, 2007 5:40 PM
> To: David Day
> Cc: Scott Boyd
> Subject: RE: clear vertical lines
> There is no purpose other than that we didn't do that.
> ________________________________________
> From: David Day
> Sent: Wednesday, August 29, 2007 5:39 PM
> To: James Margaris
> Cc: Scott Boyd
> Subject: RE: clear vertical lines
> OK, it seems you're saying this:
> verticalLineColor="null" vertical lines in treeTable are not drawn
> verticalLineColor="supported value" vertical lines in treeTable are drawn
> using value
> Shouldn't treeTable have vertical lines by default?
> So, currently, we need to document this under treeTable and/or
> verticalLineColor schema doc because its not obvious that vertical lines are
> not drawn if the optional verticalLineColor attribute is not used.
> Treetable should probably have vertical lines by default. But, you're right
> that it's not that difficult for the user to specify a verticalLineColor. But
> why should they? What do we/they gain with treeTable having no vertical lines
> by default? What is the purpose of this?
> David
> ________________________________________
> From: James Margaris
> Sent: Wednesday, August 29, 2007 5:13 PM
> To: David Day
> Cc: Scott Boyd
> Subject: RE: clear vertical lines
> It isn't set at all in the stylesheet, which has the effect of transparent. I
> don't know if "transparent" is technically legal or not, but not being set
> has that effect.
>
> James
> ________________________________________
> From: David Day
> Sent: Wednesday, August 29, 2007 5:12 PM
> To: James Margaris
> Cc: Scott Boyd
> Subject: RE: clear vertical lines
> >> In table line colors are white but in other components (tree and
> >> treeTable) they are not set at all, which has the effect >> of not drawing
> >> them.
> Is that to say color value "transparent" is not in default style sheet or not
> a color value for verticalLineColor? I don't see it in default style sheet or
> client DOM.
> Is "transparent" a color value for vertical line color? I don't see it in the
> color values in the schema doc for verticalLineColor.
> Thanks
> David
> ________________________________________
> From: James Margaris
> Sent: Wednesday, August 29, 2007 4:58 PM
> To: David Day
> Cc: Scott Boyd
> Subject: RE: clear vertical lines
> In table line colors are white but in other components (tree and treeTable)
> they are not set at all, which has the effect of not drawing them. It might
> be nice to change the behavior slightly but they can always make the tree
> line color the same color as the table themselves.
> ________________________________________
> From: David Day
> Sent: Wednesday, August 29, 2007 4:54 PM
> To: James Margaris
> Cc: Scott Boyd
> Subject: RE: clear vertical lines
> Yep, I didn't know it was supposed to be transparent by default.
> It would nice if, by default, the vertical lines between locked columns were
> not transparent but the backgroundColor of treeTable or table. Similarly, it
> would be nice if verticalLineColor between lockedColumns could be specified
> independently of verticalLineColor.
> Do you want to add this type of functionality for this release? Or a future
> release?
> Thanks
> David
> ________________________________________
> From: James Margaris
> Sent: Wednesday, August 29, 2007 4:07 PM
> To: David Day
> Cc: Scott Boyd
> Subject: RE: clear vertical lines
> They can change the color of the vertical lines to whatever they want. If
> they set them transparent they are transparent - how is that a bug? That's
> what transparent means -- you can see through transparent things.
> ________________________________________
> From: David Day
> Sent: Wednesday, August 29, 2007 2:29 PM
> To: James Margaris
> Cc: Scott Boyd
> Subject: clear vertical lines
> Hi James,
> One more issue with the clear areas of treeTable:
> Lock two or more columns and the vertical lines separating the columns is
> clear, so rows can be seen in these vertical lines when scrolling other
> columns left and right.
> Thanks!
> David
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.