humbleui

Felix Breuer 2024-01-17T23:17:04.884579Z

@tonsky great talk!

👍 4
❤️ 9
➕ 6
littleli 2024-02-29T16:36:55.142659Z

@quest I'll be testing above in next 2 days. Everything takes ages because Windows machine is far from me 🙈

👍 1
littleli 2024-02-18T00:24:15.118709Z

sorry that it took me so long but I finally managed to setup everything and compile JWM. I tested the func and my report is in the PR.

👍 1
Niki 2024-01-19T15:09:17.514749Z

Thanks @windlejacob12 @quest I appreciate your help! I’ll try to help as much as I can

Quest 2024-01-19T17:44:48.118469Z

@tonsky & I'll try to avoid forcing you to test a Windows OS 😉 More seriously, do you have any advice or vids or debugging JWM? Right now I only know to either ./script/run.py, or do ./script/build.py && ./script/install.py + launch new JVM with fresh artifact (I realized from your latest video that there were still some good debug tricks to discover, like (reset! io.github.humbleui.protocols/*debug? true))

littleli 2024-01-19T18:25:57.965429Z

In a way I'd be keen to test on Windows. But I need a clear test path, if this makes sense

Quest 2024-01-19T18:44:09.524769Z

I'll tag you on the PR then (with some test steps), though there's a bit of setup required to get JWM building & running locally on Windows. See https://github.com/HumbleUI/JWM/blob/main/docs/windows/build.md

👍 1
Quest 2024-01-19T21:26:54.724849Z

@ales.najmann I don't have the perms to actually assign you in GitHub, but I opened https://github.com/HumbleUI/JWM/pull/286 There could be an amendment based on Niki's advice & the expected behavior of repeated Toggle Titlebars but this should be working & testable now

littleli 2024-01-18T10:01:40.751889Z

It was truly a refreshing talk and the examples look so sweet. I enjoyed the analysis of the UI space and all the deficiencies inherited in them.

❤️ 1
jwind 2024-01-18T11:54:54.626049Z

Love the “suicide mission” of building a Clojure framework from your own principles. Would love to help with HumbleUI however I can

❤️ 1
Quest 2024-01-18T21:34:22.632579Z

+1 jwind. This slide reminded me of some local JWM code I should contrib. If anyone sees this & is interested in extending JWM, give me a ping for help, PR reviews, or perhaps some pair programming. I've got local compilation setup on Mac & Windows. The OS APIs are foreign to me but I'll dive back in to help grow the library

jwind 2024-01-18T21:36:34.540139Z

@quest I’d love to dive in 🙂 Let me know where I can start!

jwind 2024-01-18T21:36:51.541339Z

I have Java/C++ exp, I’m a Clojure noob, but getting better every day

Quest 2024-01-18T21:42:25.197659Z

Well it's not glamorous work -- so if you're more interested in building the UI part of HumbleUI then I'd defer to Niki for advice This JWM table has a good list of features to be implemented, we could work on any of them if one stands out https://github.com/HumbleUI/JWM#app But just a word of warning, it can be tough going because JWM is written against the OS APIs. See these files https://github.com/HumbleUI/JWM/blob/main/macos/cc/WindowMac.mm https://github.com/HumbleUI/JWM/blob/main/windows/cc/WindowWin32.cc https://github.com/HumbleUI/JWM/blob/main/linux/cc/WindowX11.cc

👍 1
jwind 2024-01-18T23:26:18.200299Z

Let me take a look and see what I can do! I’ll help out on the systems side and the ui side doesn’t matter to me!

jwind 2024-01-19T00:13:26.257249Z

This I love: Motto: “Electron for JVM, without Chrome and JS” Honestly I'm so motivated to help because I want to use this to build my own stuff lol

jwind 2024-01-19T00:20:05.919029Z

I'll try this one! https://github.com/HumbleUI/JWM/issues/115

jwind 2024-01-19T00:23:27.453259Z

Looks like there are implementations for the other platforms that I can draw inspiration from

Quest 2024-01-19T00:33:43.504829Z

Good on you for diving into the deep end! I'm using HumbleUI for my own desktop app (despite Niki's warnings against 😉) so my contributions are similarly motivated. Which OS are you developing on? I can test / port the code on the opposite OS -- Win or Mac, though I don't have a Linux setup RN.

jwind 2024-01-19T00:35:37.316109Z

I can do any, but it looked to me like all that was left is X11? Niki has commits referencing Mac/Windows

Quest 2024-01-19T01:00:17.137589Z

I think you're right based on the code & removed tags -- though the README.md might be out of date here, remember to update it at some point in PR. It seems that EventWindowVisible is also complete given that #140 is closed, could be included in your README.md tweak.

Quest 2024-01-19T01:04:15.104109Z

I'd still like to volunteer for something in good faith, so I'll take on a Windows impl of https://github.com/HumbleUI/JWM/issues/75 . I already have code for setTitlebarVisible, just need to implement the handful of remaining methods that Niki lists

Niki 2024-01-22T17:25:38.737889Z

No, I have no idea how to debug, since it’s a mix of C++ and Java. Maybe setting up CLion would help? I was not a primary developer on Windows part of the code

Quest 2024-01-22T17:29:43.871409Z

No worries, Win & C layers aren't my expertise either. I'm not having any issues right now but I'll keep CLion in mind when/if a debugger is needed. Running the demo with JWM_VERBOSE has been sufficient. Makes you appreciate Clj's hot reloading though

Quest 2024-01-18T00:13:19.978139Z

For channel context, Niki gave a HumbleUI talk with London Clojurians in the last day. Includes good demo of the upcoming signal + vdom changes (10m to 26m), & explains vision of HumbleUI along with the closest plans https://www.youtube.com/watch?v=HZTrfz-2yW4

Niki 2024-01-18T01:12:03.496419Z

Thanks @quest that’s good idea! I totally forgot to repost it here

😅 1
Quest 2024-01-18T01:13:43.134829Z

👍 didn't want to step on your toes but I didn't realize there was a video until I did a double take after the YT algorithm linked it

Quest 2024-02-20T17:56:04.653409Z

Nice work, we started this up in the spirit of OSS & should be proud it's going somewhere. Even if slowly 🙂 Updated https://github.com/HumbleUI/JWM/pull/286 , should bugfix the "increasing windowsize"

littleli 2024-03-03T10:06:57.884749Z

Nice. Toogle works, window size is maintained between toggles. I spotted something inconsistent: In the demo Ctrl+N is about to create new window, right? It works, new windows are created but do following. Toggle off the titlebar and then use the shortcut to create few new windows. What you are about to spot is that these new windows have titlebar randomly switched on/off. I have a feeling that such behavior is not expected.

Niki 2024-03-03T21:08:58.939309Z

> new windows have titlebar randomly switched on/off That is just how demo is set up Pls move the discussion to https://github.com/HumbleUI/JWM/pull/286, it’s really hard to follow it here