Bug 559214 - [CSS]: Table css declare cause mouse hover failed to high-light table row
Summary: [CSS]: Table css declare cause mouse hover failed to high-light table row
Status: NEW
Alias: None
Product: PDE
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.13   Edit
Hardware: PC Windows 10
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: PDE-UI-Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-15 12:09 EST by Hongying CLA
Modified: 2024-01-09 02:36 EST (History)
1 user (show)

See Also:


Attachments
sample plugin project (93.71 KB, application/octet-stream)
2020-01-15 12:09 EST, Hongying CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hongying CLA 2020-01-15 12:09:23 EST
Created attachment 281509 [details]
sample plugin project

We used css files to define the themes of our eclipse RCP application. In one of our css file, we have a “Table” element to define the theme of the TableViewer appearance. However, we found out with eclipse 4.x, the mouse hover to high-light a table row is no longer working. If I remove the “Table” declare element from css file, the mouse hover to high-light table row will work as expected. 

Here is the “Table” element definition in our css file:
Table {
    background-color: #ffffff;
    color: #1e1e1e;
    swt-selection-background-color: #cde6eb;
    swt-selection-border-color: #cde6eb;
    swt-selection-color: #1e1e1e;
    swt-hot-background-color: #daecf0;
    swt-hot-border-color: #daecf0;
}

I also up loaded a eclipse4.13 plugin project that can reproduce this problem.  In this sample plugin, if add above “Table” declare in "default.css" file, the table row mouse hover not high-light issue is easy reproducible. Remove “Table” declare from "default.css" file, the problem will be gone.
Comment 1 Hongying CLA 2020-01-28 13:15:35 EST
With same sample plugin application, we run into another "Linux" specific problem: When user select the table row and change selection, the others rows become not visible. 

Linux version: LNX:CentOS Linux release 7.6.1810 (Core) 3.10.0-957.27.2.el7.x86_64
Eclipse: 4.13
Comment 2 Andrey Loskutov CLA 2020-01-28 13:17:13 EST
Please try with Eclipse 4.15 M1
Comment 3 Eclipse Genie CLA 2022-01-18 11:41:51 EST
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 4 Eclipse Genie CLA 2024-01-09 02:36:15 EST
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.