Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some Theia settings have no effect, problematic decriptions, or are ignored on startup #1077

Closed
3 tasks done
boundmaidlea opened this issue Jun 19, 2022 · 3 comments
Closed
3 tasks done
Assignees
Labels
conclusion: resolved Issue was resolved topic: code Related to content of the project itself topic: theia Related to the Theia IDE framework type: imperfection Perceived defect in any part of project

Comments

@boundmaidlea
Copy link

boundmaidlea commented Jun 19, 2022

Describe the problem

Settings

  • editor.padding.bottom
  • editor.padding.top
  • window.menuBarVisibility
  • window.titleBarStyle
  • workbench.editor.highlightModifiedTabs

have no effect at all, even though it would be desirable to have these settings changable, and breadcrumbs.enabled only works in specific circumstances, but otherwise doesn't fulfill any actual purpose atm (showing the file's path), even though it could.


The settings

  • editor.guides.bracketPairsHorizontal
  • editor.minimap.scale

will be saved in the settings.json file, but are not read on startup and need to be re-set in the settings to take effect.


Further the description of the editor.language.colorizedBracketPairs setting's description states

Use 'workbench.colorCustomizations' to override the bracket highlight colors.

Even though the workbench.colorCustomizations setting is not supported by this IDE at the moment.


The description of application.confirmExit seems to assume that the app runs in browser even if it doesn't.

To reproduce

  • open the command palette
  • use the Preferences: Open Settings (UI) command
  • change or look at one of the mentioned settings

Expected behavior

all mentioned settings do what they are described to do and vice versa.

Arduino IDE version

2.0.0-rc7-nightly-20220615

Operating system

Windows

Operating system version

10.0.19044.1706 Pro

Additional context

My Nightly Build is 4 days old, but the 3 commits since then do not have any relations to this issue.

Issue checklist

  • I searched for previous reports in the issue tracker
  • I verified the problem still occurs when using the latest nightly build
  • My report contains all necessary details
@boundmaidlea boundmaidlea added the type: imperfection Perceived defect in any part of project label Jun 19, 2022
@per1234 per1234 added the topic: code Related to content of the project itself label Jun 23, 2022
@per1234
Copy link
Contributor

per1234 commented Oct 14, 2022

Thanks for your report @boundmaidlea!

I did an investigation and my findings are as follows:


The following settings have been fixed upstream in the Eclipse Theia repository by eclipse-theia/theia#11711. So these will also be fixed in Arduino IDE once the Theia dependency is bumped to the one with the fix:

  • editor.padding.bottom
  • editor.guides.bracketPairsHorizontal
  • editor.minimap.scale

I can reproduce breadcrumbs.enabled not having any effect (I'm using Arduino IDE 2.0.1-snapshot-bc264d1). It works as expected in version 1.25.0 (same as Arduino IDE's current Theia dependency) of Theia Blueprint. I didn't find any cases where it did work. @boundmaidlea please describe the the specific cases where you found it to have an effect as this might be useful for the investigation.


I can reproduce window.titleBarStyle not having any effect. It works as expected in Blueprint 1.25.0.


I found that window.menuBarVisibility requires the window to be reloaded before it takes effect. This behavior is unique to Arduino IDE. The change takes effect immediately in Blueprint 1.25.0.


I found that workbench.editor.highlightModifiedTabs also does not have any effect with the latest version of Theia (eclipse-theia/theia@e96bb5b).


I was not able to reproduce the problem reported with editor.padding.top. This setting works as expected for me in Arduino IDE even when using the 2.0.0-rc7 version from the report. @boundmaidlea are you still able to reproduce the problem with that setting?


The description of editor.language.colorizedBracketPairs no longer mentions the workbench.colorCustomizations setting:

Defines the bracket pairs that are colorized by their nesting level if bracket pair colorization is enabled.

It is mentioned in the editor.bracketPairColorization.enabled description:

Controls whether bracket pair colorization is enabled or not. Use 'workbench.colorCustomizations' to override the bracket highlight colors.

@per1234 per1234 added the topic: theia Related to the Theia IDE framework label Oct 14, 2022
@per1234
Copy link
Contributor

per1234 commented Nov 29, 2022

This issue was partially resolved by #1662

The remaining unresolved components:

  • breadcrumbs.enabled has no effect
  • window.titleBarStyle has no effect
  • workbench.editor.highlightModifiedTabs has no effect

@per1234
Copy link
Contributor

per1234 commented Dec 1, 2022

As I explained above, most of the reported problems were fixed upstream in Theia and those fixes have now been pulled into Arduino IDE via #1662. A new issue has been created to track the remaining problems reported here: #1733

So I will close this as resolved. Thanks @boundmaidlea!

@per1234 per1234 closed this as completed Dec 1, 2022
@per1234 per1234 assigned per1234 and unassigned AlbyIanna Dec 1, 2022
@per1234 per1234 added the conclusion: resolved Issue was resolved label Dec 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
conclusion: resolved Issue was resolved topic: code Related to content of the project itself topic: theia Related to the Theia IDE framework type: imperfection Perceived defect in any part of project
Projects
None yet
Development

No branches or pull requests

3 participants