Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Sep 26 20:07
    cwensley commented #2322
  • Sep 26 20:02
    cwensley milestoned #2320
  • Sep 26 20:02
    cwensley labeled #2320
  • Sep 26 20:02
    cwensley commented #2320
  • Sep 26 19:07

    cwensley on develop

    Mac: Fix setting SaveFileDialog… Merge pull request #2321 from c… (compare)

  • Sep 26 19:07
    cwensley closed #2321
  • Sep 26 19:02
    kimimaru4000 edited #2322
  • Sep 26 19:00
    kimimaru4000 opened #2322
  • Sep 26 18:56
    cwensley opened #2321
  • Sep 26 18:56
    cwensley labeled #2321
  • Sep 26 18:56
    cwensley milestoned #2321
  • Sep 26 18:56
    cwensley milestoned #2321
  • Sep 25 04:50
    greatawesome commented #2320
  • Sep 25 04:48
    greatawesome commented #2320
  • Sep 25 04:45
    greatawesome edited #2320
  • Sep 25 04:45
    greatawesome opened #2320
  • Sep 24 04:44

    cwensley on develop

    Mac: Fix errors with ListBox wh… Merge pull request #2319 from c… (compare)

  • Sep 24 04:44
    cwensley closed #2319
  • Sep 24 04:07
    cwensley labeled #2319
  • Sep 24 04:07
    cwensley milestoned #2319
Eternal
@EternalClickbait
Ah ok
Eternal
@EternalClickbait
Hey very sorry to do this to you again lol but I'm getting super confused from this - adding items to a table causes NullReferenceExcetpions to be thrown by GTK (see picoe/Eto#2181)
Brian Gallaway
@greatawesome
I ported ZedGraph to Eto: https://github.com/greatawesome/ZedGraph
Curtis Wensley
@cwensley
Cool! Are you planning on publishing a nuget package?
Brian Gallaway
@greatawesome
I'll do some more testing first. I've run the test app on WinForms, WPF, and GTK on Windows, but I still need to test it on Mac and Linux.
Curtis Wensley
@cwensley
Sweet! once you're ready we can add it to the 3rd party library list if you like.
Eternal
@EternalClickbait
Hey can anyone help me with #2181? I have no idea what is going on to be honest
Curtis Wensley
@cwensley
@EternalClickbait I responded on the issue.
Eternal
@EternalClickbait
Thanks so much <3
philstopford
@philstopford
@cwensley : is there a way to assign a context menu to a dropdown or numeric stepper? The ContextMenu doesn't seem to be listed, so I'm curious.
i.e. right-click on the dropdown (instead of left click), or right-click on the numeric stepper.
Curtis Wensley
@cwensley
@philstopford MouseDown then show a ContextMenu manually doesn’t work?
Brian Gallaway
@greatawesome

I think I know the answer, but I don't suppose there is an Expander control that can expand other directions (left to right, right to left, etc), instead of just top down?

I think WPF's expander can do that, but I don't believe the other platforms can.

Curtis Wensley
@cwensley
@greatawesome: Unfortunately not that I'm aware of.
Youness KAFIA
@ykafia
Hi there people!
Just wanna point out i am making a parser for a shader language over there, using Eto.Parse. Really thankful that you guys put this library out, i've been using it for a few weeks and it's really amazing
Curtis Wensley
@cwensley
@ykafia you're very welcome! It was a fun project to put together. Your parser looks very well structured!
Brian Gallaway
@greatawesome
EtoDateTime.png
I'm looking to use the ExtendedDateTimePicker to get a better DarkMode in WinForms, but in Extended mode it gives strange text. Any pointers of where I should look before I dig into this?
Laura Stasiulewicz
@Laura_4R_gitlab
image.png
Hello, I'm looking for tips for styling controls in ETO.
I'm using only code to make my forms, no XAML or JSON is involved.
I was wonderig if adding an 'eye' icon to password box is possible, since passwordbox control has no 'children' property, therefore I dont think I can put anything inside of the input, can I?
SSmall preview from Micrsoft docs with what I have in mind:
LuciferSam86
@LuciferSam86
Hi, just a question. Is the addin required for building Eto.Forms apps compatible with VS 2022? Thanks!
Curtis Wensley
@cwensley
Hey @LuciferSam86, no, you do not need the addin. It adds templates, xaml autocomplete, and a previewer
Curtis Wensley
@cwensley
Otherwise, Eto can be consumed as nuget packages, including the templates using the dotnet command line.
Miepee
@miepee:matrix.org
[m]
Is it possible to make some runtime dependencies on linux (e.g webkit if you use it, libappindicator etc.) Optional and to not cause a runtime crash?
It would make a few things more convenient, e.g newer Debian which changed the appindicator file would still be able to run the application, just not with all bells and whistles.
Miepee
@miepee:matrix.org
[m]
:point_up: Edit: Is it possible to make some runtime dependencies on linux/gtk (e.g webkit if you use it, libappindicator etc.) Optional and to not cause a runtime crash?
It would make a few things more convenient, e.g newer Debian which changed the appindicator file would still be able to run the application, just not with all bells and whistles.
Curtis Wensley
@cwensley
It is possible, we just need to detect which one is available and use the correct version, vs. just switching out for another lib that isn't ubiquitous.
Miepee
@miepee:matrix.org
[m]
well i meant more in the scenario that nothing is available
Curtis Wensley
@cwensley
The only way not to crash in that scenario is just don't use it. E.g. there's no way the WebView will work without the required depenencies
We could add some detection so it doesn't add the WebViewHandler if the dependencies don't exist, so you could do something like if (Platform.Supports<WebView>() { /* now it's safe to use WebView */ }
Miepee
@miepee:matrix.org
[m]
That would be neat, yeah.
Miepee
@miepee:matrix.org
[m]
I just encountered that while working on some flatpak related stuff.
Did you already do any work in that department? Would like to make a possible template public for Eto programs.
Curtis Wensley
@cwensley
Not sure what you're asking entirely, the WebViewHandler is always added so the Platform.Supports<> method will always return true. We just need to do a check first before adding the WebViewHandler in Eto.Gtk/Platform.cs
Same for the LinuxTrayIndicatorHandler
Miepee
@miepee:matrix.org
[m]
Sorry my bad, I completely misphrased what I meant <-<
The second line was regarding whether any flatpak related stuff for Eto was done yet. In case you're not familar with them, they're a distribution mechanism for linux programs.
Curtis Wensley
@cwensley
Yes I'm aware of flatpaks, I'm not quite a fan of them due to the added complexity of installing flatpak related dependencies.
If they were trying to make sandboxing very complicated, they certainly solved that problem.
Miepee
@miepee:matrix.org
[m]
That's because Linux as a whole is complicated :)
They wanted to create a sandboxing environment which supports:
  • GNU stuff (i.e. glibc and their coreutils)
  • non-GNU stuff (i.e. musl and busybox or other stuff)
  • All kinds of init systems (i.e., systemD, runnit, openRC etc.)
  • Different display protocols (i.e. X11, Wayland and any potential future ones)
  • Needs proper definitions in which programs and parts of the filesystem it needs to be able to access and which not
  • Needs to properly be able to invoke filepickers and such, while being sandboxed (as usually those lie outside of the sandbox)
  • Needs to properly communicate with the different DEs (to know which filepicker it needs to invoke)
    And probably a whole bunch of more stuff.
Curtis Wensley
@cwensley
That's fair. At any rate, I'd welcome any changes to help support running in flatpak if necessary.
Miepee
@miepee:matrix.org
[m]
Oh, something that could help a bit more for that, are there any public binaries for the test suite, or do I need to self-compile?
My current test application runs fine as of right now, but it'd be a good idea to have that tested against something something that uses all features of Eto, rather than only a few
Curtis Wensley
@cwensley
You can get all the test app binaries from the actions, such as this one for 2.7.0: https://github.com/picoe/Eto/actions/runs/2285279754#artifacts
Miepee
@miepee:matrix.org
[m]
Sweet, thanks!
Curtis Wensley
@cwensley
Any time!
Miepee
@miepee:matrix.org
[m]

I got a bit distracted by the testing application; it seems that a few things are broken on either GTK+Linux or Wayland.
Stuff that doesn't work (correctly), some exceptions the program catches, and some exceptions that crash the program outright.

Should I test those later on a more recent commit and submit issues for them?

As examples; the icon doesn't get displayed in either title or taskbar, the datepicker instantly closes, the "bitmap" thing produces an exception, a lot of stuff that uses the GTK/GNOME dialogs instead of current DE's, and something else related to child windows that straight up crashed the program.
(Also all non-flatpak related, this is all natively)
Curtis Wensley
@cwensley
Icons on the taskbar need to be handled by using a config file. Icons not showing on the title bar are probably a theme issue.
Miepee
@miepee:matrix.org
[m]
I'm on kde, not GNOME
Kde always showed them fine
Curtis Wensley
@cwensley
Either way, it's not provided by the program