Comments (4)
Can you try with testdialog? I've tried with that on my device, and it consistently takes about 1 second to open, regardless of whether the window is maximized or 50x50.
You'll need to open test/testdialog.c
and change the SDL_CreateWindowAndRenderer
line (86) to have the arguments ("testdialog", 640, 480, SDL_WINDOW_RESIZABLE, &w, &r)
, then run from the build directory:
cmake -DSDL_TESTS=ON ..
make
.\test\testdialog.exe
from sdl.
After some quick testing, it does appear like the testdialog example opens consistently regardless of window size. I noticed testdialog uses a while loop while my application and the ravbug example uses the newer SDL_AppIterate
. Could this be somehow related to the file dialog delay? I'll do some more research on my end.
from sdl.
Maybe rendering the bigger window puts more strain on your computer which slows down the opening of the file dialog? Note that the testdialog limits the frame rate using SDL_Delay(100)
so that might be something you want to try in your application if you're not doing that already.
from sdl.
After more testing on several different systems, I believe this is a windows issue or issue with my laptop. Other computers open the file dialog consistently.
from sdl.
Related Issues (20)
- Get function conventions? HOT 5
- SDL_EVENT_WINDOW_LAST is defined as SDL_EVENT_WINDOW_PEN_LEAVE instead of SDL_EVENT_WINDOW_HDR_STATE_CHANGED HOT 2
- SDL_GetStringRule for SDL_GetJoysticks(), etc.? HOT 19
- Build failed for arm64ec target architecture HOT 4
- SDL3 SDL_Init crash on ios 15 HOT 4
- `SDL_PrintString` ignores `SDL_FormatInfo.left_justify` HOT 5
- [audio][multichannel] SDL_AudioSpecsEqual failed assertion in SDL_PlaybackAudioThreadIterate due to missing stream channel map HOT 3
- Android Vukan renderer doesn't respect Landscape HOT 5
- Could you provide SDL_URIToLocal to SDL 3 in Windows too, please HOT 3
- Address sanitizer reports memory leak on Linux with SDL_WINDOW_OPENGL HOT 2
- Sub-pixel motions are lost or amplified on X11 if application uses absolute motion and pointer warp HOT 7
- Why does SDL try to make reference to emscripten webgl if I've disabled all renderers? HOT 4
- SDL_windowswindow.c doesn't compile, the conditional statement isn't written correctly HOT 1
- Highlight SDL_HINT_LOGGING
- device event filter system HOT 11
- (macOS) Opening a window in windowed mode unhides the dock sometimes
- PSP renderer should create streaming textures in VRAM HOT 2
- Rename SDL_HINT_GAMECONTROLLER_* to SDL_HINT_GAMEPAD_*? HOT 1
- The SDL3 Examples Megathread HOT 25
- testvulkan failed to run on MacOS HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sdl.