Comments (2)
Hello @pmp-p,
is it possible to prevent showing window content while moving them ?
Yes, the ERASEMOVE
setting in config
(default =Y) will normally prevent Win32 window content redraws while dragging the window. It looks like the Emscripten build in demos/Makefile-emscripten
is not setting this. Try adding a line CFLAGS += -DERASEMOVE=1
in line 31, that should fix it.
Also when a window (X11) goes a bit out of viewport and come back, redraw is not always ok until mouseover the main widgets
Hmmm... this one will be a bit harder to figure out. It appears that an X11 expose event is not being sent, or perhaps blocked from being received, either in the FLTK main loop, or perhaps in the NX11 (X11 -> Nano-X) conversion library. In certain cases the X11 server (which of course is not running) may be expected to keep the window contents and redisplay without an expose event.
Are you running an older (tested with Nano-X) version of FLTK? Another thought would be to turn on debug output, setting #define EVDEBUG 1
in src/nx11/NextEvent.c, as well as adding CFLAGS += -DDEBUG=1
in demos/Makefile-emscripten as describe above. This should produce more output that we can possibly use to determine what events are being received by NX11/Nano-X and help find the problem location.
Another thought would be to run a Linux native version of the demo, from which we might be able to capture more debug output.
Thank you!
from microwindows.
FLTK in above build is git, my patches are here https://github.com/pmp-p/fltk-wasm and the upstreaming discussion here fltk/fltk#41 (comment)
thank you, i'll try the ERASEMOVE asap not sure i will have time for debugging though
from microwindows.
Related Issues (20)
- Question on keyboard event devices in linux HOT 5
- Strange gtk 1.2.10 behaviors with nano-X HOT 5
- How to switch from 16bit to 32bit colors HOT 16
- endian.h HOT 4
- Present to the future challenge HOT 2
- cosmopolitan binaries experiment? HOT 4
- Doc has dead links
- Linker Error with GCC 11 HOT 5
- microwindows on 64bit ARM HOT 6
- NanoX on Microsoft Windows HOT 1
- Load and display bitmaps at runtime HOT 5
- 'ft2build.h' file not found HOT 1
- Porting Nano-X to NuttX HOT 9
- Cannot initialise keyboard HOT 8
- font has background HOT 4
- SetFontSize failed HOT 3
- GrArea() with MWPF_PIXELVAL will crash HOT 3
- Does Nano-X work on illumos (OpenIndiana, Solaris) HOT 2
- How to set the width of dashed lines & Why do the dashed lines blink HOT 5
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 microwindows.