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

[Bug]: Todays alpha: Using the Toolkit "TestForm" shows that the drop button icon is not drawn #1388

Closed
Smurf-IV opened this issue Apr 2, 2024 · 13 comments
Labels
bug Something isn't working fixed This issue has been fixed. regression Something was working in a previous release, but isn't working now.

Comments

@Smurf-IV
Copy link
Member

Smurf-IV commented Apr 2, 2024

image

@Smurf-IV Smurf-IV added bug Something isn't working regression Something was working in a previous release, but isn't working now. labels Apr 2, 2024
@giduac
Copy link
Contributor

giduac commented May 30, 2024

Hi @Smurf-IV

Also KDropButton was affected by this and the change to ButtonValues.cs will make KDB behave the same as KButton.
PR underway.

@Smurf-IV
Copy link
Member Author

@Wagnerp Should this go into 8.5 as well ?

@PWagner1
Copy link
Contributor

@Wagnerp Should this go into 8.5 as well ?

@Smurf-IV Yes it should

@Smurf-IV Smurf-IV modified the milestones: Version 90, Version 85 Jun 1, 2024
@Smurf-IV
Copy link
Member Author

Smurf-IV commented Jun 1, 2024

@giduac Please recreate the change against the v85 branch and create a PR for that (Also include updates to the changelog)

@giduac
Copy link
Contributor

giduac commented Jun 1, 2024

@Smurf-IV
Can I pop the same commits in there as in alpha ?

@Smurf-IV
Copy link
Member Author

Smurf-IV commented Jun 1, 2024

Yes, of course. (If they fit ;-))

@giduac
Copy link
Contributor

giduac commented Jun 2, 2024

Hi @Smurf-IV & @Wagnerp

FYI.
In this fix there will several alterations.
One of the problems with selecting themes are inconsistencies in the order of the PaletteMode Enum and the PaletteModeStrings.SupprotedThemes Dictionary.
This order will be corrected and the SupportedThemes order will be leading.

I would like to ask to make no changes to the two until this issue is complete.

This is the order of the two currently with the discrepancies between the two.

image

@Smurf-IV
Copy link
Member Author

Smurf-IV commented Jun 2, 2024

I prefer the Right list, as it shows the "New" themes being added to the end of the list.
Alphabetical sorting can be done in the combo, as it will still (should) take the tag numbers for the offsets.

@Smurf-IV
Copy link
Member Author

Smurf-IV commented Jun 2, 2024

@giduac Also, remember that this has to be placed into 8.5, and still work in V90 without any changes to a designer made with V80 (i.e. enum offsets etc.)

@Smurf-IV
Copy link
Member Author

Smurf-IV commented Jun 2, 2024

A Bi-Directional map should take care of identifying what is what (They have been used for other "Sources of truth" as well)

@giduac
Copy link
Contributor

giduac commented Jun 2, 2024

I prefer the Right list, as it shows the "New" themes being added to the end of the list. Alphabetical sorting can be done in the combo, as it will still (should) take the tag numbers for the offsets.
@Smurf-IV
The right list will be leading as that is how thee Dictionary is created.

@giduac
Copy link
Contributor

giduac commented Jun 2, 2024

A Bi-Directional map should take care of identifying what is what (They have been used for other "Sources of truth" as well)

@Smurf-IV
The PaletteMode enum is used a lot to retrieve the index and that is where things are out of sync atm.
Since the PaletteMode starts with the Global entry the theme index is currently 1 off (if the order was correct).
Therefore PaletteMode will be started with a value of Global = -1. And next the entry is the first theme which will receive the value 0. Which is a valid index.

Also the three theme selector controls will be hooked up to the KManager change event so all stays in sync when a theme is changed from outside the theme selector controls.

I suggest to first make this for alpha and then we can see how much of that will fit in V85 or is desirable.

@giduac
Copy link
Contributor

giduac commented Jun 12, 2024

@Wagnerp

Please close as this has been fixed and completed.
Thanks.

@PWagner1 PWagner1 added the fixed This issue has been fixed. label Jun 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working fixed This issue has been fixed. regression Something was working in a previous release, but isn't working now.
Projects
None yet
Development

No branches or pull requests

3 participants