Comments (22)
@jukzi : which project is it, I can't see this? I can't also observe that on any project I've checked in my workspace.
from eclipse.platform.ui.
its in platform workspace. I think it was where i had set filter to "box"
from eclipse.platform.ui.
I can't get this state with only 7 warnings, every workspace is different.
Any way to have a reproducible example?
from eclipse.platform.ui.
it was in the state after disabling some autobox warnings #1527
currently i am in another state and don't see the problem anymore
from eclipse.platform.ui.
ill try to keep n eye on it and inform you if i found exact reproducer
from eclipse.platform.ui.
7th element becoming italic only the case limit=6. And for any reason the node was not properly disposed and italic styling was left behind.
@jukzi Did you change the limit to 6 before ?
from eclipse.platform.ui.
no, i think it was on 10000
from eclipse.platform.ui.
maybe there where that many warnings but most of them had been filtered out?
from eclipse.platform.ui.
got it again: current master on all repos. filter to "esource"
limit=1000
from eclipse.platform.ui.
ExpandableNodeCount 9 seems unreasonable high - i don't see anything is getting to the limit
from eclipse.platform.ui.
It is in entire IDE, not only in the view. Close it and check numbers again.
from eclipse.platform.ui.
after IDE restart the node count is 0 and i don't see the problem anymore.
from eclipse.platform.ui.
when i then remove the filter=> nodecount=1, when i add the filter again => nodecount=0 but Problem reappeared
from eclipse.platform.ui.
OK, without filter one of the subtrees size must be over 1000 limit and node is shown, right? Once filter is set, node is not shown anymore, but the last element in same subtree is rendered as it would show the node (in italics)?
from eclipse.platform.ui.
exactly
from eclipse.platform.ui.
How is the Problems view configured, which grouping / sorting ?
from eclipse.platform.ui.
I believe I've managed to reproduce it. What I did is to set the viewer limit to 10, in Problems view disabled grouping (Group By -> None) to have basically a flat table and set filters to show problems per selected project.
Now switching between project A that has ~100 problems and shows "expandable" node to a project B that has < 50 problems, Problems view renders the last element in the tree in italics.
So the best effects I see in JDT UI projects, switching between org.eclipse.jdt.ui
and org.eclipse.jdt.ui.unittest.junit
with 800 & 2 problems one can see the last (second) element in org.eclipse.jdt.ui.unittest.junit
becoming italic, and switching back the second element in org.eclipse.jdt.ui
becoming italic too (plus the last one which is "real" expandable node).
The problem with Problems view is the way how elements there are created.
They are reused, and the styles are inherited if reused.
The styles are set in org.eclipse.jface.viewers.ViewerColumn.refresh(ViewerCell)
, so commenting the line 144 will the problem (but "expandable" node will not be rendered anymore differently). That could probably be fixed in using some different way to change the font used for it, but I remember it wasn't trivial at all to apply any special rendering.
from eclipse.platform.ui.
from eclipse.platform.ui.
I did not change sort or grouping
Doesn't matter now, since I can reproduce without "extra" filters etc, see above.
We will follow up next week.
@raghucssit : we should think how we can change the rendering in a way it doesn't leave traces on reused elements.
from eclipse.platform.ui.
I believe I've managed to reproduce it. What I did is to set the viewer limit to 10, in Problems view disabled grouping (Group By -> None) to have basically a flat table and set filters to show problems per selected project.
Now switching between project A that has ~100 problems and shows "expandable" node to a project B that has < 50 problems, Problems view renders the last element in the tree in italics.
So the best effects I see in JDT UI projects, switching between
org.eclipse.jdt.ui
andorg.eclipse.jdt.ui.unittest.junit
with 800 & 2 problems one can see the last (second) element inorg.eclipse.jdt.ui.unittest.junit
becoming italic, and switching back the second element inorg.eclipse.jdt.ui
becoming italic too (plus the last one which is "real" expandable node).The problem with Problems view is the way how elements there are created. They are reused, and the styles are inherited if reused.
The styles are set in
org.eclipse.jface.viewers.ViewerColumn.refresh(ViewerCell)
, so commenting the line 144 will the problem (but "expandable" node will not be rendered anymore differently). That could probably be fixed in using some different way to change the font used for it, but I remember it wasn't trivial at all to apply any special rendering.
I can also reproduce this way in problems view.
Initilally No Grouping
Filter = Errors/Warnings on selected resource and children
Set limit=10
Project A with 18 erros + 1 warning.
Probject B - No error/warnings.
Select Project A = 19 items created Flat structure.
Select Project B - Nothing shown.
Select A project again. 19 items created Flat structure
Enable Group By -> Type
Now 2nd group Title is italic.
from eclipse.platform.ui.
I did not change sort or grouping
Doesn't matter now, since I can reproduce without "extra" filters etc, see above.
We will follow up next week.
@raghucssit : we should think how we can change the rendering in a way it doesn't leave traces on reused elements.
Yes. I will check.
from eclipse.platform.ui.
Yes. I will check.
See #1531
from eclipse.platform.ui.
Related Issues (20)
- Find/Replace overlay should have an X for closing HOT 19
- Find/Replace overlay: does not move on every resize
- Find/Replace overlay: "String xyz not found" message HOT 3
- Find/Replace overlay: missing help for regular expressions
- Find/Replace overlay: changes heigth on resize HOT 1
- Find/Replace overlay: make resizeable
- Find/Replace overlay: not high enough
- Find/Replace overlay: reorder regexp/whole word button
- Do not automatically expand Java files in Project Explorer HOT 11
- NPE in UndoManager2.addUndo
- Find/Replace overlay: Buttons sometimes missing HOT 1
- Find/Replace Overlay: unexpected key bindings on MacOS
- Missing line numbers in Quick Search viewer HOT 5
- Find/Replace overlay: Immediate Replace after searching selected text not working HOT 1
- Find/Replace overlay: Search text not selected when switching to open overlay
- Find/Replace Overlay: Allow rebinding shortcuts HOT 1
- Find/Replace overlay: Arrow button re-sizes on editor scrolling HOT 7
- When the Event Details Dialog is minimized, it is updated in the Background
- Umbrella Issue: find/replace overlay issues HOT 17
- Can't switch buffers by filtering for buffer names including the letter "B"
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from eclipse.platform.ui.