Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 18:17
    julian-baumann commented #1949
  • 18:11

    cwensley on develop

    Fix crash with StackLayout Cal… Merge pull request #1950 from c… (compare)

  • 18:11
    cwensley closed #1950
  • 18:08
    cwensley commented #1949
  • 18:02
    cwensley opened #1950
  • 09:56
    julian-baumann edited #1949
  • 09:53
    julian-baumann edited #1949
  • 09:52
    julian-baumann opened #1949
  • May 05 09:38
    cwensley labeled #1946
  • May 05 09:38
    cwensley labeled #1945
  • May 05 09:38
    cwensley labeled #1944
  • May 05 09:38
    cwensley labeled #1943
  • May 05 09:38
    cwensley labeled #1942
  • May 03 20:08
    InfinityGhost opened #1947
  • May 02 10:01
    cwensley labeled #1929
  • May 02 10:01
    cwensley labeled #1925
  • May 02 09:43

    cwensley on develop

    Fix possible NRE with Graphics.… Merge pull request #1946 from c… (compare)

  • May 02 09:43
    cwensley closed #1946
  • May 02 09:35
    cwensley opened #1946
  • Apr 30 22:38

    cwensley on develop

    Wpf: Fix setting selected index… Merge pull request #1945 from c… (compare)

Jordan Peck
@Auburn
I've enabled break on all exceptions but nothing is coming up
Curtis Wensley
@cwensley
@geoff-m: hm yes it would be nice to have that for windows.. on macOS, "Move" does not show any particular cursor (it's standard behaviour). If you create an issue I can look into it..
@Auburn @ManuelHu_gitlab : I've been meaning to update the templates to have a better combined/single project experience, using the RID's as you suggest. It is rather annoying that windows desktop projects completely bork the ability to do a nuget restore on other platforms.. even if it is in a separate project.
Jordan Peck
@Auburn
Is Manuel's solution what you would recommend for now?
Curtis Wensley
@cwensley
yes, that is similar to what I'll be doing for the templates when creating a combined project launcher.
Jordan Peck
@Auburn
Have you got any ideas on what to debug to figure out why the program is exiting straight away. It runs fine on Windows
Curtis Wensley
@cwensley
Which platform?
Jordan Peck
@Auburn
Linux
Curtis Wensley
@cwensley
There's no output or exception?
Jordan Peck
@Auburn
I've enabled break on all exceptions, but there is nothing
Only output is exited with code 0
Curtis Wensley
@cwensley
Do you have Eto.Gtk.dll, GtkSharp.dll, AtkSharp.dll, etc in the output directory?
Jordan Peck
@Auburn
Yup I have all of those
Curtis Wensley
@cwensley
Hm.. could you zip it up and send it over? I can take a look at what's going on.
That is just missing my changes to add references to Eto.Platform.Gtk
Curtis Wensley
@cwensley
gotcha.
could you add them in a branch so I can see what you did?
Jordan Peck
@Auburn
Currently I've just replaced Eto.Platform.Wpf with Eto.Platform.Gtk while I'm trying to get it working
Curtis Wensley
@cwensley
ah ok, let me give it a go.
Jordan Peck
@Auburn
And tried switching to 2.5.10, but 2.5.2 didn't work either
If I put a breakpoint into the constructor of my Form is does get hit
And I don't have any code that triggers Application.Instance.Quit()
Thanks for having a look
Curtis Wensley
@cwensley
Hm, had to switch to net5.0 TFM as I don’t have .NET Core 3.1 installed, but switching “Eto.Platform.Wpf” with “Eto.Platform.Gtk” appears to work with a simple “dotnet run"
Screen Shot 2021-02-21 at 9.17.31 AM.png
Jordan Peck
@Auburn
I've just been running it though VSCode, let me try without
Well that works...
Not sure why that works differently from the template project, neither has any launch configs
Curtis Wensley
@cwensley
I actually did the dotnet run from the VSCode integrated terminal myself.
Jordan Peck
@Auburn
Does it work for you if you hit F5?
Curtis Wensley
@cwensley
@Auburn One thing.. are you using the snap version of VSCode? It has.. problems.. like this one.
you need to use the .deb version so it has full access to your system.
Jordan Peck
@Auburn
I don't remember, is there a way to check
Ah yeah I am using the snap version
Curtis Wensley
@cwensley
that would be it, then
Jordan Peck
@Auburn
.deb version fixed it
Thanks
Curtis Wensley
@cwensley
no problemmo. (;
Jordan Peck
@Auburn
The dropdowns are much larger on Linux, messing up my formatting
Curtis Wensley
@cwensley
Yeah controls in general are quite large on Gtk these days. I think they did that to support touch.
philstopford
@philstopford
Indeed. It's that which forced me to move to a tablelayout managed UI. I had this nicely calibrated design that worked well under all platforms (GTK being then GTK2) and then GTK3 messed it all up with enormous controls. Even now, it's massively wasteful of screen space. I think they ought to be somewhat ashamed. Not every UI calls for touch, after all, and when you end up scrolling to access controls that fit in the UI on every other platform, it just looks terrible to the user (in my experience).
Even with a 4K panel, I end up having to have the tablelayout inside a scrollable to account for this particular 'quirk' of GTK. The horizontal and vertical scrolling is tedious and very saddening when I was deliberately aiming for a UI that didn't have controls out-of-sight and made all of them available without subdialogs, extra windows, etc.
The FastNoise projects are neat - wasn't aware of those before and will be taking a look. The imgui (I guess?) node editor in FastNoise2 makes me still want something like that for Eto :D
Jordan Peck
@Auburn
Thanks, the FastNoise2 node editor uses https://github.com/Nelarius/imnodes
philstopford
@philstopford
Yeah - I recognized the look of the imgui from the Veldrid examples.
philstopford
@philstopford
Do you expect to have other implementations (C#, for example) for the FastNoise2, or is that version more for pure speed? Curious about your plans, and whether an Eto UI is being considered (with a node component :D)
Jordan Peck
@Auburn
FastNoise2 uses SIMD for performance and SIMD support isn't fully there yet for C#, can chat more on the FastNoise discord if you want
Jordan Peck
@Auburn
Is it possible to make a Scrollable only scroll vertically?
Curtis Wensley
@cwensley
@Auburn yes, set Scrollable.Content.Width = 1. It will (by default) expand to the width of the scrollable so it won’t actually be 1 pixel wide.