Closed Bug 437941 Opened 16 years ago Closed 16 years ago

Task-Trees: Selection Style does not make a difference between focused/unfocused

Categories

(Calendar :: Calendar Frontend, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: berend.cornelius09, Assigned: berend.cornelius09)

References

Details

Attachments

(1 file)

Currently selcted tree items of the task trees always have the same background-color no matter if they are focused or not focused. This is bad for the buttons that perform their action on the focused pane like the "delete" or "copy" button, because the user does not have a focus-feedback from the task-tree.
Flags: wanted-calendar0.9?
Flags: wanted-calendar0.9? → wanted-calendar0.9+
Attached patch patch v. #1 — — Splinter Review
This should improve the situation. I will ask for review as soon as bug 429685 is integrated.
Assignee: nobody → Berend.Cornelius
Status: NEW → ASSIGNED
Attachment #324260 - Flags: review?(philipp)
Comment on attachment 324260 [details] [diff] [review]
patch v. #1

>+treechildren::-moz-tree-row(selected) {
>+  background-color: -moz-Dialog;
> }
Quite a general rule, is that needed? Or can it be .calendar-task-tree > treechildren...

Also, does this bug need ui-r, or was that what you were discussing with Christian yesterday? I'm not quite sure moz-dialog is the right color for selected rows. Doesn't this make the row gray on windows? afaik selected, unfocused rows have a transparent background and a dotted border?


r=philipp for the code
Attachment #324260 - Flags: review?(philipp) → review+
If it helps, I think that Thunderbird uses the styles in C:\Program Files\Thunderbird\Chrome\classic.jar\skin\classic\global\tree.css.
removed the dispensible rules as philipp proposed and checked in patch on trunk and MOZILLA_1_8_BRANCH

->Fixed
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
>Also, does this bug need ui-r, or was that what you were discussing with
>Christian yesterday? 

No I talked with Christian about this and Christian considered this a mere bug with no need for a ui-request.
Seems this fix introduced Bug 351145 for the task list too.
Target Milestone: --- → 0.9
Checked in lightning build 20061918 and sunbird 20080619 -> VERIFIED.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: