profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/rafntor/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.

rafntor/bdhero 0

An intelligent, automatic Blu-ray™ to MKV muxer and analysis tool

rafntor/Eto.ImageViewEx 0

Image Zoom/Pan/Scroll Extra Controls for Eto.Forms

rafntor/librephotos 0

Self hosted alternative to Google Photos

rafntor/nuget-license 0

.NET Core tool to get the licenses of a project

rafntor/script.service.mypicsdb 0

Automatically update MyPicsDB

issue commentpicoe/Eto

WinForms: DataObject malfunction

Hm, yeah that might not be working.. but it should be compatible with standard drag/drop so it's probably a bug.

As for the original issue that can certainly be fixed.

cyanfish

comment created time in 4 hours

issue commentpicoe/Eto

WinForms: DataObject malfunction

But in any case, there still seems to be the issue with the data object (I wanted to use the Eto version for unified Clipboard/drag-and-drop handling). Though I can work around that with creating the handler manually if needed.

cyanfish

comment created time in 4 hours

issue commentpicoe/Eto

WinForms: DataObject malfunction

I had drag implemented on items in a embedded control (System.Windows.Forms.ListView). I guess that might not be supported with the shell drag and drop?

cyanfish

comment created time in 4 hours

issue commentpicoe/Eto

WinForms: DataObject malfunction

The shell drag and drop is used so you can have drag images and have a tooltip like how the File Explorer drag/drop works.

Thanks for reporting the issue! What control(s) are you dragging/dropping with where it doesn't work?

cyanfish

comment created time in 4 hours

issue commentpicoe/Eto

WinForms: DataObject malfunction

Also, is the "shell drag and drop" documented anywhere? I'm not sure the point of it, it seems like I also need to set WindowsControl.UseShellDropManager to false in order for drag-and-drop to work.

cyanfish

comment created time in 4 hours

issue openedpicoe/Eto

WinForms: DataObject malfunction

<!-- Thanks for taking the time to report an issue! Some things to consider:

  • Please be detailed and ensure there isn't already an open issue for your bug/request.
  • If you can, please try to reproduce the problem using the develop branch first as your issue may already be fixed.
  • If you have an enhancement request, you can remove the sections that don't apply.

-->

Setting data on an Eto DataObject has no apparent effect - subsequent gets return null. This applies to all methods (SetString, SetObject, SetData, etc.).

var x = new Eto.Forms.DataObject();
x.SetString("data", "type");
Console.WriteLine(x.GetString("type")); // null

This seems related to https://github.com/picoe/Eto/commit/1b32e67b0a7de0715d2fa08c51621e535e070f68 which creates a custom internal data object in the default constructor.

Creating with a normal data object works as expected:

var x = new DataObject(new DataObjectHandler(new System.Windows.Forms.DataObject()));
x.SetString("data", "type");
Console.WriteLine(x.GetString("type")); // "data"

<!-- Please specify the version of Eto and all platforms this can be reproduced in -->

Specifications

  • Version: 2.5.10
  • Platform(s): WinForms
  • Operating System(s): Win10

created time in 5 hours

release tomchavakis/nuget-license

v2.3.0

released time in 7 hours

push eventtomchavakis/nuget-license

Tom Chavakis

commit sha fdad59456e1df2f14f5c6dea7e5e72fd1974c3fa

update publish

view details

push time in 7 hours

created tagtomchavakis/nuget-license

tagv2.3.0

.NET Core tool to print or save all the licenses of a project

created time in 7 hours

delete branch tomchavakis/nuget-license

delete branch : fix-release-workflow

delete time in 7 hours

push eventtomchavakis/nuget-license

Thomas Chavakis

commit sha 2673bb7d5000a8a4e1c6b4384eed695844abbd49

update the release github action (#69)

view details

push time in 7 hours

delete tag tomchavakis/nuget-license

delete tag : v2.2.11

delete time in 7 hours

push eventtomchavakis/nuget-license

Tom Chavakis

commit sha 85103163ac4f1c76430d4282bf7080dd4be08601

update release default framework

view details

push time in 7 hours

create barnchtomchavakis/nuget-license

branch : fix-release-workflow

created branch time in 8 hours

created tagtomchavakis/nuget-license

tagv2.2.11

.NET Core tool to print or save all the licenses of a project

created time in 8 hours

issue closedtomchavakis/nuget-license

does the unique option work?

Trying the unique option and I don't see any difference in the output. Thanks!

closed time in 8 hours

AndrewTriesToCode

push eventtomchavakis/nuget-license

alesebi91

commit sha 31dc5516bba2fed6ebedd508af76abba8dec22ef

Add .NET 5.0 support (#68)

view details

push time in 8 hours

PR merged tomchavakis/nuget-license

Add .NET 5.0 support

Added .NET 5.0 support to execute tool inside mcr.microsoft.com/dotnet/sdk:5.0* docker build images.

@tomchavakis: please fix github workflows to add .NET 5.0 sdk during build process

+13 -3

2 comments

4 changed files

alesebi91

pr closed time in 8 hours

pull request commenttomchavakis/nuget-license

Add .NET 5.0 support

@tomchavakis: github workflows updated with .NET 5 install step. I'm waiting for your review.

Thanks!

Hi @alesebi91 ,

A really cool feature just come up with your contribution. I'll review it until tomorrow.

Thanks!!

alesebi91

comment created time in 19 hours

pull request commenttomchavakis/nuget-license

Add .NET 5.0 support

@tomchavakis: github workflows updated with .NET 5 install step. I'm waiting for your review.

Thanks!

alesebi91

comment created time in 19 hours

issue commentpicoe/Eto

KeyboardEvent returns Keys.None for + sign on German keyboard layout

Hm, I'm seeing the same results on macOS using the accessibility on-screen keyboard so it's probably a quirk (feature) of that platform. It doesn't appear to be giving a different key code so there's not much I can do about that.

As for Gtk that should be no problem to fix those two at the very least.

ManuelHu

comment created time in a day

issue commentpicoe/Eto

KeyboardEvent returns Keys.None for + sign on German keyboard layout

The following table contains the output of $"{e.KeyChar}|{e.Key.ToString()}" where non-printable key chars have been omitted. The platforms behave completely different... In bold there are some of my ideas how to change

On Windows, 4 events will be raised (duplicating first and second Key value); those are only shown once per distinct event args. For the second press of a dead key the same keychar is emitted 4 times!

I don't know if the macOS result is right, as I'm using a VM with a Standard German keyboard - a German mac keyboard has a different layout...

Key Windows Mac Gtk (GtkSharp Key value)
+ |Equals +|None +|RightBracket +|None (Key.plus) +|Equals
Ü |Semicolon ü|None ü|LeftBracket no event (Key.udiaeresis)
Ä |Quote ä|None ä|Quote no event (Key.adiaeresis)
Ö |Grave ö|None ö|Semicolon no event (Key.odiaresis)
ß \LeftBracket ß|None ß|Minus no event (Key.ssharp)
Keypad Point |Decimal ,|None ,|Decimal no event (Key.KP_Separator) ,|Decimal
Shift+dead_acute (Backtick) |LeftShift |RightBracket (second time `|None) n/a |LeftShift |None (Key.dead_acute) Note: KeyChar is non-printable for both events
dead_acute ("Forward tick") |RightBracket (second time ´|None) n/a no event (Key.dead_acute)
Circumflex |Backslash (second time ^|None) n/a no event, except with shift but then non-printable (instead of "°") (Key.dead_circumflex)

The most problematic is probably the + as requiring umlaut or dead keys for custom actions is hopefully uncommon... But still emitting events for those would be needed for e.g. implementing custom input on controls. The inconstency on the + key for macOS still isn't great, but is a quirk of macOS?

ManuelHu

comment created time in a day

push eventpicoe/Eto

Curtis Wensley

commit sha 918ff8c413997da612ed225f6e19b74ef8945a5c

Template updates and sdk support - Add sdk to support combined project with net 5.0 - Ensure projects build on VS Mac and Windows - Fix F# code preview on Mac - Add VB.NET project and file templates again, now that it's actually supported - Use &File vs. F&ile for xaml templates - When building with an RID directly with net5, don't re-publish again and use proper output directory for output .app bundles - Fix running .net 5 on VS for Mac (debugging still not supported due to limitations with VS for Mac)

view details

Curtis Wensley

commit sha 61b02fb046247ab8aa3451799770267955ec1565

Update to 2.6.0-dev

view details

push time in a day

issue commentpicoe/Eto

KeyboardEvent returns Keys.None for + sign on German keyboard layout

Awesome, that is much appreciated and will make this very quick to fix!

ManuelHu

comment created time in a day

issue commentpicoe/Eto

KeyboardEvent returns Keys.None for + sign on German keyboard layout

Working on it. Good news: On Windows everything seems quite fine; I'm currently preparing testing on macOS. Bad news: Also some other keys (8 in total) on the German keyboard do not work on Eto.Gtk

ManuelHu

comment created time in a day

push eventpicoe/Eto

Curtis Wensley

commit sha a57d9fc67868dba06e18340aba5c15a66971e533

Template updates and sdk support - Add sdk to support combined project with net 5.0 - Ensure projects build on VS Mac and Windows - Fix F# code preview on Mac - Add VB.NET project and file templates again, now that it's actually supported - Use &File vs. F&ile for xaml templates - When building with an RID directly with net5, don't re-publish again and use proper output directory for output .app bundles - Fix running .net 5 on VS for Mac (debugging still not supported due to limitations with VS for Mac)

view details

Curtis Wensley

commit sha a8a71a0d2b5758706d519afe54a095b132fc66bf

Update to 2.6.0-dev

view details

push time in a day

issue commentpicoe/Eto

KeyboardEvent returns Keys.None for + sign on German keyboard layout

Awesome, thanks for reporting the issue! I'll see if I can get the virtual keyboard to show a German layout, but if not I might not be able to know which key it reports on the various platforms.

One way you could help is to run your application in debug on the other platforms (Wpf, WinForms, Mac). You should then get an output like Unknown key XX, where it will tell us which key to map it to.

ManuelHu

comment created time in 2 days

issue openedpicoe/Eto

KeyboardEvent has Keys.None for some keyboard layouts

On a German keyboard, there is an extra key for the plus sign that is located to the left of the enter key. With eto the keypress returns a Key=Keys.None, KeyChar='+'. I suppose this is not optimal...

See Wikipedia: https://en.wikipedia.org/wiki/German_keyboard_layout#/media/File:KB_Germany.svg

e.g. on Gtk3, Gtk returns Key.plus which is not handled in the KeyMap: https://github.com/picoe/Eto/blob/develop/src/Eto.Gtk/KeyMap.cs. I did not test on other platforms...

Expected Behavior

Pressing + on my keyboard returns a meaningful keycode (e.g. Keys.Plus) and not Keys.None. Returning Keys.Equal would be misleading, as the plus key on a German keyboard layout cannot produce an equals sign... [1].

Specifications

  • Version: latest CI build
  • Platform(s): Gtk3

[1] Note/addition: there is also no equals key on German keyboards at all, as the equal sign is produced with Shift+0.... But those keys at least return some meaningful Key value)

created time in 2 days