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]: When using KryptonInputBox focus is not on the edit box when it is shown #77

Closed
Smurf-IV opened this issue Apr 22, 2021 · 3 comments
Labels
bug Something isn't working completed This issue has been completed. fixed This issue has been fixed.

Comments

@Smurf-IV
Copy link
Member

Describe the bug
A clear and concise description of what the bug is.

To Reproduce

var markupName = KryptonInputBox.Show(this, @"Store Current View and Markup's as:", @"Name", @"Name Of this markup", @"OK", startPosition: FormStartPosition.CenterParent);

Have to physically click in the edit box.

Expected behavior
Edit box to have focus to allow simple user work-flow

Screenshots
image

and it should be the following (Notice the cursor in the edit box)
image

Desktop (please complete the following information):

  • OS: [e.g. Windows 10]
  • Version [e.g. 10.0.19042]
@Smurf-IV Smurf-IV added the bug Something isn't working label Apr 22, 2021
@Smurf-IV
Copy link
Member Author

Other issues:

  • The Cancel button has the focus
  • Entering the Edit area with a mouse click enables the "OK" button, but is should not until something has been entered.
  • The Default OK text is O&k which looks wrong!
  • There shoul dbe more space under the edit area to balance the lok of the entry
  • The Hint text should be lighter. (Should re-use the KryptonTextEditBox hint text !)

@Wagnerp
Copy link
Contributor

Wagnerp commented Apr 23, 2021

@Smurf-IV I really think that the Hint functionality needs improvement, maybe something like this? https://www.codeproject.com/Articles/27849/WaterMark-TextBox-For-Desktop-Applications-Using-C

Wagnerp added a commit that referenced this issue Apr 23, 2021
@Smurf-IV Smurf-IV self-assigned this May 1, 2021
Smurf-IV added a commit that referenced this issue May 3, 2021
- Add `MissingFrameworkAPIs` class to optimise best use of code
- Start to add c#9 code
- Some Spell Checking fixes
#84
#79
#77
@Smurf-IV Smurf-IV removed their assignment May 3, 2021
@Smurf-IV Smurf-IV added the completed This issue has been completed. label May 3, 2021
@Smurf-IV Smurf-IV removed the completed This issue has been completed. label May 16, 2021
@Wagnerp Wagnerp added this to the November 2021 (Version 6) milestone May 16, 2021
@Wagnerp Wagnerp self-assigned this May 16, 2021
@Wagnerp Wagnerp added under investigation This bug/issue is currently under investigation. in progress A fix for this issue is in the works. labels May 16, 2021
@Wagnerp Wagnerp removed their assignment May 31, 2021
@Wagnerp Wagnerp added completed This issue has been completed. fixed This issue has been fixed. and removed in progress A fix for this issue is in the works. under investigation This bug/issue is currently under investigation. labels May 31, 2021
@Wagnerp
Copy link
Contributor

Wagnerp commented May 31, 2021

Fixed in the August 2021 (Canary) update.

@Wagnerp Wagnerp closed this as completed May 31, 2021
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. fixed This issue has been fixed.
Projects
None yet
Development

No branches or pull requests

2 participants