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

Store properties dialog bounds. #1282

Conversation

marcushoepfner
Copy link
Contributor

Propeties dialog is created and shown when 'Properties' action is performed while an object is selected. (e.g. in Project Explorer)

Issue #949

Copy link
Contributor

github-actions bot commented Nov 7, 2023

Test Results

     900 files  ±0       900 suites  ±0   46m 0s ⏱️ -1s
  7 468 tests ±0    7 314 ✔️ +1  153 💤 ±0  1  - 1 
23 553 runs  ±0  23 043 ✔️ +1  509 💤 ±0  1  - 1 

For more details on these failures, see this check.

Results for commit ab22a44. ± Comparison against base commit 01ae9f9.

♻️ This comment has been updated with latest results.

@marcushoepfner marcushoepfner force-pushed the properties_dialog_bound_settings branch 2 times, most recently from c59bf33 to 27778d9 Compare November 29, 2023 13:49
@Override
protected IDialogSettings getDialogBoundsSettings() {
Bundle bundle = WorkbenchPlugin.getDefault().getBundle();
IDialogSettings settings = PlatformUI.getDialogSettingsProvider(bundle).getDialogSettings();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can't settings also be null here?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah no. It look like null is never returned

@Override
protected IDialogSettings getDialogBoundsSettings() {
Bundle bundle = WorkbenchPlugin.getDefault().getBundle();
IDialogSettings settings = PlatformUI.getDialogSettingsProvider(bundle).getDialogSettings();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah no. It look like null is never returned

@BeckerWdf BeckerWdf force-pushed the properties_dialog_bound_settings branch from 826cd04 to c4864aa Compare December 7, 2023 07:45
@BeckerWdf
Copy link
Contributor

One of the failing test is unrelated. See: #811
For the other one: I also looks unrelated but I am unsure.

@marcushoepfner
Copy link
Contributor Author

One of the failing test is unrelated. See: #811 For the other one: I also looks unrelated but I am unsure.

This one: #370?
Quite old but got an update in September this year that it still failing.

I just give it another chance...

Properties dialog is created and shown when 'Properties' action is
performed while an object is selected. (e.g. in Project Explorer)

Issue eclipse-platform#949
@BeckerWdf
Copy link
Contributor

One of the failing test is unrelated. See: #811 For the other one: I also looks unrelated but I am unsure.

This one: #370? Quite old but got an update in September this year that it still failing.

I just give it another chance...

Ah yes. Didn't find this one. So it's unrelated.

@marcushoepfner marcushoepfner merged commit 8abe1b1 into eclipse-platform:master Dec 7, 2023
14 of 16 checks passed
@marcushoepfner marcushoepfner deleted the properties_dialog_bound_settings branch December 7, 2023 10:23
marcushoepfner added a commit to marcushoepfner/eclipse.platform.ui that referenced this pull request Dec 7, 2023
@BeckerWdf BeckerWdf added this to the 4.31 M1 milestone Dec 7, 2023
marcushoepfner added a commit to marcushoepfner/eclipse.platform.ui that referenced this pull request Dec 11, 2023
jukzi pushed a commit to jukzi/eclipse.platform.ui that referenced this pull request Jun 5, 2024
This reverts commit 8abe1b1.

The PreferenceDialog has a custom size calculation that tries to adapt
to the current page. That contradicts using the the former size
jukzi pushed a commit to jukzi/eclipse.platform.ui that referenced this pull request Jun 5, 2024
…eclipse-platform#1895

This reverts commit 8abe1b1.

The PreferenceDialog has a custom size calculation that tries to adapt
to the current page. That contradicts using the the former size

eclipse-platform#1895
jukzi pushed a commit to jukzi/eclipse.platform.ui that referenced this pull request Jun 5, 2024
…eclipse-platform#1895

This reverts commit 8abe1b1.

The PreferenceDialog has a custom size calculation that tries to adapt
to the current page. That contradicts using the the former size

eclipse-platform#1895
jukzi pushed a commit to jukzi/eclipse.platform.ui that referenced this pull request Jun 5, 2024
…eclipse-platform#1895

This reverts commit 8abe1b1.

The PreferenceDialog has a custom size calculation that tries to adapt
to the current page. That contradicts using the the former size

eclipse-platform#1895
jukzi pushed a commit to jukzi/eclipse.platform.ui that referenced this pull request Jun 6, 2024
…eclipse-platform#1895

This reverts commit 8abe1b1.

The PreferenceDialog has a custom size calculation that tries to adapt
to the current page. That contradicts using the the former size

eclipse-platform#1895
jukzi pushed a commit that referenced this pull request Jun 6, 2024
This reverts commit 8abe1b1.

The PreferenceDialog has a custom size calculation that tries to adapt
to the current page. That contradicts using the the former size

#1895
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants