AUI.Example.Views issues
Hello there. I've just compiled AUI from the master branch (which seems to also be tag 5.1.0) and the AUI.Example.Views example (on Windows 11 using Visual Studio 2022's compiler), and I'm facing a few issues, not sure if these are demo issues or some framework issue. I really like what I've seen so far, so I hope you don't mind me opening this issue:
On the Common tab:
- When pressing "Show file chooser" or "Show folder chooser", I get the proper dialog, I can either cancel or select a file folder and I get a message box with the result. However, after closing the message box, the app doesn't take my input, it's like frozen (but the bottom circular progress indicator continues to move, so it seems to not be a real hang).
- The text area is not editable? Not sure if I should be able to input text here, but it doesn't seem to work (the single line Text edit works fine, though)
- The bottom "Enabled" checkbox disables all elements when unchecking it, but checking it again doesn't enables them back.
- The "Resizable" checkbox on the "Window factory" group doesn't seem to do anything, creating windows after enabling that doesn't seem to make them resizeable?
- When I resize the whole window to be small, some scrollbars appear, which is fine. However, trying to use the mouse scrolling wheel on the list view or tree view examples doesn't work after that (the whole content moves, instead of only those). The combobox dropdown scroll continues to work, though.
On the Sounds tab:
- Playing wav music doesn't seem to work, I just hear a "pop" sound. I need to Stop then Play again to hear the sound again, so it's definitely trying to do something. Playing OGG works fine, which is odd :).
- The "Button produces sound when clicked" button only works the very first time.
On the Splitters tab:
- The mouse cursor doesn't change when trying to move the splitters, but maybe this is just not implemented or expected?
- The grid splitter seems to behave erratically, I can get it outside of the window, the last cell of the first row grows more than the others, and it resets itself to the initial position all the time.
On the Text tab:
- (Not really related to text, but it's only visible on this screen due to the size of the widgets). If you resize the window to be smaller, everything works fine. If you resize the window horizontally by a lot, the horizontal scrollbar at the bottom will grow past the size of the window. It will be reset after you drag it again.
On the Others tab:
- Dropping a file from the explorer onto the d&d part produces the expected output, but then an assertion failure:
[18:40:47][UI thread][AUI][ERR]: Uncaught exception in window proc: (class AAssertionFailedException) assertion failed: mPainterDC == nullptr
- at 00007FFA89CAD22E AAssertionFailedException::AAssertionFailedException(?:?)
- at 00007FFA89CAD147 aui::assertion::detail::triggerAssertion(Assert.cpp:16)
- at 00007FFA5B911AB7 CommonRenderingContext::beginPaint(CommonRenderingContext.cpp:105)
- at 00007FFA5B91FDEE OpenGLRenderingContext::beginPaint(OpenGLRenderingContextImpl.cpp:177)
- at 00007FFA5B8EF2BB AWindow::redraw(AWindows.cpp:89)
- at 00007FFA5B91072B AWindow::winProc(AWindowsImpl.cpp:113)
- at 00007FFA5B9119D4 WindowProc(CommonRenderingContext.cpp:25)
...
Again, I really like what I'm seeing and hopefully I can use AUI for my purposes, thanks!
Hi @Arcnor,
Thank you for your interest! I saw your post, unfortunately I need some time to make a detailed answer, hopefully I'll do it on the weekend 🙏
For now, I could say that we're focused on mobile platforms support so desktop platforms may lack some features or encounter bugs.
Hi @Arcnor,
Thank you for your interest! I saw your post, unfortunately I need some time to make a detailed answer, hopefully I'll do it on the weekend 🙏
Thank you for your fast response!
For now, I could say that we're focused on mobile platforms support so desktop platforms may lack some features or encounter bugs.
Ah, that's unfortunate, although it's still great it works as well as it does. It will at least help if you can tell me what issues are due to the demo and which ones are framework bugs, I'm trying to evaluate the framework for now, but I like what I see as mentioned before.
Also a small correction to my message above, when I said I couldn't write on the "text area", I think the real issue is that the contents are completely empty, I checked the code and there is supposed to be text there, so something is missing...
Thanks again!
When pressing "Show file chooser" or "Show folder chooser",
Confirmed, #305
The text area is not editable? Not sure if I should be able to input text here, but it doesn't seem to work (the single line Text edit works fine, though)
Confirmed, #306
The bottom "Enabled" checkbox disables all elements when unchecking it, but checking it again doesn't enables them back.
Confirmed, #307
The "Resizable" checkbox on the "Window factory" group doesn't seem to do anything, creating windows after enabling that doesn't seem to make them resizeable?
It is possible, with a proper combination of window flags. The checkbox inside the example is unused :/ The example uses WindowStyle::MODAL, which includes WindowStyle::NO_RESIZE. It requires a little bit of care and brainstorming that can be applied to all platforms.
When I resize the whole window to be small, some scrollbars appear, which is fine. However, trying to use the mouse scrolling wheel on the list view or tree view examples doesn't work after that (the whole content moves, instead of only those). The combobox dropdown scroll continues to work, though.
Confirmed, #308
Playing wav music doesn't seem to work, I just hear a "pop" sound. I need to Stop then Play again to hear the sound again, so it's definitely trying to do something. Playing OGG works fine, which is odd :).
Confirmed, #309 As for "button produces sound" it would be deprecated probably as it's just proof-of-concept.
The mouse cursor doesn't change when trying to move the splitters, but maybe this is just not implemented or expected?
It's not implemented but would be nice to be implemented :D
The grid splitter seems to behave erratically, I can get it outside of the window, the last cell of the first row grows more than the others, and it resets itself to the initial position all the time.
Confirmed, #310
(Not really related to text, but it's only visible on this screen due to the size of the widgets). If you resize the window to be smaller, everything works fine. If you resize the window horizontally by a lot, the horizontal scrollbar at the bottom will grow past the size of the window. It will be reset after you drag it again.
Oh jeez, that's a good one. Actually, AText often breaks layout as well as AScrollArea, but here we have a combination of them :) #311
Dropping a file from the explorer onto the d&d part produces the expected output, but then an assertion failure:
Confirmed, #312
Thank you for your testing! We'd address the issues as soon as possible!
- [x] #305
- [x] #306
- [ ] #307
- [ ] #308
- [x] #309
- [x] #310
- [x] #311
- [ ] #312
That sounds great, thanks! Let me know if you need any help testing 🙂