chromelyapps / Chromely

Build Cross Platform HTML Desktop Apps on .NET using native GUI, HTML5, JavaScript, CSS, Owin, AspNetCore (MVC, RazorPages, Blazor)
MIT License
2.99k stars 279 forks source link

Chromely browser with miltiple tabs on Linux #386

Closed christK9999 closed 1 year ago

christK9999 commented 1 year ago

I want to implement a browser based on Xilium.CefGlue that works on Windows and on Linux I found a solution with Chromely. I implemented the Browser according to this Chromely tutorial and it works fine on Windows and on Linux. Now I want to have more than one tabs. It seems to be possible, but chromely have to be extended as mentioned here.

I tried to use Avalonia and Chromely, but the are not compatible. I found this question talking about a "Chromely.CefGlue.Gtk.Linux.Demo"-Project but no code of that project.

Can someone help me please?

mattkol commented 1 year ago

@christK9999

Now I want to have more than one tabs. It seems to be possible, but chromely have to be extended

Yes, that is true, Chromely is a one-window framework.

"Chromely.CefGlue.Gtk.Linux.Demo" is based on Chromely.CefGlue.Gtk.Linux - old project that is not used anymore. If you want to work on extending Chromely.CefGlue.Gtk.Linux, you can see the updated code here - Chromely/NativeHosts/LinuxHost.

You can see related issues here: https://github.com/chromelyapps/Chromely/issues/139 https://github.com/chromelyapps/Chromely/issues/185

But note that multi-tabs is not supported.

Thanks.

christK9999 commented 1 year ago

Thanks you for your reply. I'm trying to solve it using Gtk now

Thanks :)