Oskar Wickström
Oskar Wickström
Thanks for the report! It does look like an oversight, indeed. Would you be willing to submit a PR and add the missing handling of `Keep`?
Seems to be same as https://github.com/haskell-gi/haskell-gi/issues/339? And that thread has some workarounds.
I haven't tried it and have no plans on working on it myself. If anyone wants to maintain major version of this package for GTK 4 I'm happy to add...
I don't have any clean example of another architecture to share, unfortunately. https://github.com/owickstrom/komposition uses this library but with an indexed monad approach to stateful resources (GTK windows primarily). It's a...
By the way, there's an in-between approach that comes to mind, where you don't go all the way to indexed monads to ensure correct resource handling. You could just have...
@niteria Thanks for the comprehensive debugging work! This is indeed problematic. Have you found any way of receiving an "atomic" text change event? I'm guessing that trying to detect what...
I think a slightly more reasonable cursor position _after replacing_ would be at the end. But can we detect that an _insertion_ of text actually followed a `""` event, and...
That does sound quite ugly. I hope we can find a way to interact with the widget's signals so that we don't have to mess around with this level of...
For the first case, as @aristaeus says, you need to add the -threaded GHC option. For the second, I think you're right about the missing destroy listener. See the examples...
Oh, okay. Sorry I'm on vacation and I don't have a laptop. Let me try this with ghci next week, and I'll get back to you. Den ons 23 jan....