aui-framework / aui-framework/aui

AUI.Example.Views issues

Open
#304 4 comments 0 reactions 0 assignees View on GitHub
help wanted question
Dominant language
C++
Stars
598
Forks
44
Avg merge
17h 56m
Merged PRs (30d)
3

Description

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:
1. 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).
2. 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)
3. The bottom "Enabled" checkbox disables all elements when unchecking it, but checking it again doesn't enables them back.
4. 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?
5. 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:
1. 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 :).
2. The "Button produces sound when clicked" button only works the very first time.

On the Splitters tab:
1. The mouse cursor doesn't change when trying to move the splitters, but maybe this is just not implemented or expected?
2. 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:
1. (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:
1. 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!

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the reports in the AUI.Example.Views tabs on Windows 11, separating the Common, Sounds, Splitters, Text, and Others cases into focused investigations. For the drag-and-drop assertion, read CommonRenderingContext.cpp, OpenGLRenderingContextImpl.cpp, AWindows.cpp, and AWindowsImpl.cpp; done means each confirmed issue has an isolated fix and regression coverage or a documented framework limitation.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
desktop
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
15/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.