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]: 2108.0 Canary - Cannot set text of a button in designer #225

Closed
Smurf-IV opened this issue Aug 2, 2021 · 9 comments
Closed

[Bug]: 2108.0 Canary - Cannot set text of a button in designer #225

Smurf-IV opened this issue Aug 2, 2021 · 9 comments
Labels
bug Something isn't working completed This issue has been completed.

Comments

@Smurf-IV
Copy link
Member

Smurf-IV commented Aug 2, 2021

To Reproduce
Add KryptonButton to form
Type something in the text
Tab off
Expected:

  • Text to appear in the button
    Actual:
  • Button text remains the same

Additional context
Sigh...
If you go into the Forms designer of a normal button and check out the editor then it has the following:
[Editor("System.ComponentModel.Design.MultilineStringEditor, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", typeof (UITypeEditor))]

What has been done in the 2108 version is to remove everything after MultilineStringEditor

Will need to perform a "Search and replace" to put it back, and then retest in net5 / net 6 to see if it the same.

@Smurf-IV Smurf-IV added the bug Something isn't working label Aug 2, 2021
@Smurf-IV Smurf-IV changed the title [Bug]: 2108.0 Canary - Cannot set text of a button [Bug]: 2108.0 Canary - Cannot set text of a button in designer Aug 3, 2021
@Smurf-IV Smurf-IV self-assigned this Aug 3, 2021
@Smurf-IV Smurf-IV added the under investigation This bug/issue is currently under investigation. label Aug 3, 2021
@Smurf-IV
Copy link
Member Author

Smurf-IV commented Aug 3, 2021

@Wagnerp WTF
image

What is this persistent text thing attempting to do?
I think it should be removed !

@Smurf-IV
Copy link
Member Author

Smurf-IV commented Aug 3, 2021

The above is triggered in the designer when a user sets the text of a button, and then it is replaced during an OnPaint

@Smurf-IV
Copy link
Member Author

Smurf-IV commented Aug 3, 2021

The above functionality should be in the extended suite, it's nothing to do with standard "Operations" of a button !

@PWagner1
Copy link
Contributor

PWagner1 commented Aug 3, 2021

@Wagnerp WTF
image

What is this persistent text thing attempting to do?
I think it should be removed !

@Smurf-IV

Might have been something I was playing with about the KManager's action button's text. I thought I had put a bool value in to disable this feature. Can be removed.

@Smurf-IV
Copy link
Member Author

Smurf-IV commented Aug 3, 2021

Might have been something I was playing with about the KManager's action button's text. I thought I had put a bool value in to disable this feature. Can be removed.

Will do.

@PWagner1
Copy link
Contributor

PWagner1 commented Aug 3, 2021

Might have been something I was playing with about the KManager's action button's text. I thought I had put a bool value in to disable this feature. Can be removed.

Will do.

@Smurf-IV

Can you wait a bit, as I'm implementing a fix/solution :)

PWagner1 added a commit that referenced this issue Aug 3, 2021
Smurf-IV added a commit that referenced this issue Aug 3, 2021
Smurf-IV added a commit that referenced this issue Aug 3, 2021
* Fix for #225, #229 & #230
Okay you beet me to 225 & 229 ;-)
@Smurf-IV Smurf-IV removed their assignment Aug 3, 2021
@Smurf-IV Smurf-IV added completed This issue has been completed. and removed under investigation This bug/issue is currently under investigation. labels Aug 3, 2021
@PWagner1
Copy link
Contributor

PWagner1 commented Aug 3, 2021

Fixed in build 2109

@PWagner1 PWagner1 closed this as completed Aug 3, 2021
@Smurf-IV
Copy link
Member Author

Smurf-IV commented Aug 3, 2021

@Wagnerp Can this be placed into Canary 2108.1 please ?

@PWagner1
Copy link
Contributor

PWagner1 commented Aug 3, 2021

@Wagnerp Can this be placed into Canary 2108.1 please ?

@Smurf-IV See latest pulls

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working completed This issue has been completed.
Projects
None yet
Development

No branches or pull requests

2 participants