Coder Social home page Coder Social logo

Comments (11)

markozajc avatar markozajc commented on July 28, 2024 2

Normally I don't, but when starting new projects, which I did just recently, this happens quite often.

from eclipse.platform.ui.

HeikoKlare avatar HeikoKlare commented on July 28, 2024 1

Yes, totally makes sense to revert the feature enablement for now. We will try to improve the functionality to context-specifically consider the mentioned situation. I have created #2123 to revert the change.

from eclipse.platform.ui.

HeikoKlare avatar HeikoKlare commented on July 28, 2024 1

The change has now been reverted. Thank you all for giving feedback and for providing use cases with degraded user experience due to the changes that we can take into account when improving the feature.

from eclipse.platform.ui.

jukzi avatar jukzi commented on July 28, 2024

@Wittmaxi please check

from eclipse.platform.ui.

Wittmaxi avatar Wittmaxi commented on July 28, 2024

A few thoughts on this issue after discussion with @HeikoKlare:
The problem is caused by the new Mechanism in SWT for auto expansion of single children, as merged here: #1742
The best Solution is to add a predicate to the mechanism which then decides when to stop auto-expanding (i.e.: only auto-expand folders)

I am currently only looking into the issues find/replace overlay, I will keep this in the back of my mind for when I have less impotant things to do.

from eclipse.platform.ui.

HeikoKlare avatar HeikoKlare commented on July 28, 2024

Just as a minor addition: depending on whether the reported issue is perceived as a severe problem, it would be possible to (temporarily) revert #1742 until we have a mechanism to define custom expansion-termination criteria (as proposed by @Wittmaxi).

from eclipse.platform.ui.

markozajc avatar markozajc commented on July 28, 2024

The issue is not severe (it simply clutters up my screen, which is rather annoying), but I would definitely prefer the old behaviour for the time being.

from eclipse.platform.ui.

HeikoKlare avatar HeikoKlare commented on July 28, 2024

Just to understand the issue correctly: this kind of auto expansion only happens if you have a package with a single class, doesn't it? So do you have a setup with multiple packages only containing a single class?

from eclipse.platform.ui.

HeikoKlare avatar HeikoKlare commented on July 28, 2024

I see. Thank you for the clarification! That's of course a reasonable scenario.

from eclipse.platform.ui.

ddscharfe avatar ddscharfe commented on July 28, 2024

The issue is not severe (it simply clutters up my screen, which is rather annoying), but I would definitely prefer the old behaviour for the time being.

There is a similar issue with this feature in Eclipse CDT. Eclipse CDT allows expanding binary files, and since #1063, they auto-expand if there is only one binary file. This clutters the screen and can also cause performance problems, as expanding binaries can be slow.

from eclipse.platform.ui.

iloveeclipse avatar iloveeclipse commented on July 28, 2024

Just as a minor addition: depending on whether the reported issue is perceived as a severe problem, it would be possible to (temporarily) revert #1742 until we have a mechanism to define custom expansion-termination criteria (as proposed by @Wittmaxi).

@HeikoKlare : would be nice to revert for M2 this week or latest fro M3.

from eclipse.platform.ui.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.