Conversation
9f1c653 to
583c841
Compare
|
Have you tried the preview 8 yet? Don't know if it will help but it might be worth a shot... |
|
I think I did, as preview 8 is production ready according to MS. I have to check that. |
|
Take a look at dotnet/winforms#1631. |
|
ah thanks! |
|
If that was indeed the problem, dotnet/winforms#1745 was merged today and will be available through the .NET Core 3.0 GA, which will be released at .NET Conference later this month (between September 23th and 25th). |
|
Nice! It isn't fixed in preview 9? |
|
I don't think so, the merge happened a few hours later than the release announcement. Perhaps you could try it with the |
|
I think that would help if you want to try: https://github.com/dotnet/coreclr#using-your-build |
|
.NET Core 3.0 RC1 is up, did you have a chance to try it out yet? |
|
Will try to test soon. If you have time, please test it, the case is really easy to see (just start the netcore3 app) - that would be very helpful :) I'm now on holiday so a bit limited. (The last test was with preview 9) |
|
I think that an issue with a proper minimum reproduction should be opened at dotnet/winforms. I'm not going to do that because I'm not fully aware of stuff. I don't use this package with RTF. Actually, I don't use RTF at all, so this hyperlink syntax seems out of place for me. Nevertheless, this will not be fixed before the GA release. |
|
Unfortunately I don't know if it is a bug in our code or Microsoft's That needs an investigation |
|
Tested against .NET Core 3.1 Preview 1: same behavior. |
|
Here is what it would look like to not set a fixed font and instead branch the tests. You might have to add The |
|
Did a mistake in my original tests, the officially documented hyperlink markup actually works in .NET 5 (the native control does all the work, WinForms isn't involved) - switching the link generation to not use hidden text means we don't have to wait for a fix for WinForms to pass hidden text to the |
I think yes, only NET 5 and .NET Core 3.1 are actual. @weltkante |
I think it would be nice to have fixed fonts for the tests, and only for the tests.
No, but maybe the zoom factor is also related? |
|
Since I've already been halfway there I've also ported the Technically you can use that on .NET 4.7+ as well but considering that there is a runtime switch to decide which RTF control to use it would probably get pretty hacky to figure out which RTF control is used. Certainly not enough to have static |
Ow yes indeed, EOL 2020-03-03. At work we are already at 3.1/5.0 😅 |
Any idea how to configure the font of the dynamically generated form? Would certainly simplify the tests a lot.
Perhaps, it certainly complicates the tests (I have to switch the tests to run with AppVeyor settings because whatever is the standard on your side isn't for me). |
Well we could make it an option of the target (the font size) and then set a fixed from the tests? |
# Conflicts: # NLog.Windows.Forms/NLog.Windows.Forms.csproj
# Conflicts: # NLog.Windows.Forms/NLog.Windows.Forms.csproj
|
It took some time, but it's finally merged :) Thanks you guys!! |
|
It's published as 4.5.0-rc.1: https://www.nuget.org/packages/NLog.Windows.Forms/4.5.0-rc.1 |




resolves #39
works locally in test application
todo: