Giter Site home page Giter Site logo

Comments (8)

ghaerr avatar ghaerr commented on May 19, 2024

from microwindows.

JulStrat avatar JulStrat commented on May 19, 2024

Hello.
Coming back.

Does it only happen with that just demo, or all the demo-* demos?

Yes. It's general behavior for all nano-x demo-*.

You might also try some of the mw* demos (win32 api).

mw* demos repaint window properly, but have other problem. I can't resize window.

Try dragging quickly, then slowly. Type a few characters afterwards.

Dragging window (nano-x demos) in up-left (only) direction works properly, any other direction repaint window after mouse double click in window (with 2-3 sec delay).

I have tested MOUSE=GPMMOUSE setting with same results.

My config - config-linux.fb

ARCH=LINUX-NATIVE
VTSWITCH=Y

I will check VTSWITCH=N also.

Thanks.
Best regards.

from microwindows.

JulStrat avatar JulStrat commented on May 19, 2024

P.S. If I switch to other VT and then back to original - window repaints!

from microwindows.

ghaerr avatar ghaerr commented on May 19, 2024

from microwindows.

JulStrat avatar JulStrat commented on May 19, 2024

Hello, Greg !
I updated my repo up to your commit dfe93ab .
And now window (nano-X and nuklear demo apps) repaint properly without your workaround in nanox/srvfunc.c !
Regardless option - VTSWITCH.

Regards,

Julian.

from microwindows.

ghaerr avatar ghaerr commented on May 19, 2024

Great news Julian! I'm still not sure whether VTSWITCH might be broken but I have fixed some other issues in the window manager. I'll consider this issue closed.

from microwindows.

ghaerr avatar ghaerr commented on May 19, 2024

Julian - just wanted you to know that I finally actually debugged your problem. I installed a linux framebuffer VM on my laptop and found the exact same window redraw problem you had. The problem is now fixed, it was related to two problems, but would not show when the SCREEN_PIXTYPE was set to MWPF_TRUECOLORARGB, which was not the default for config.linux-fb. The screen colors were also incorrect. Both are fixed now, and the config file can be set to either SCREEN_PIXTYPE value and all works ok. I also tested VTSWITCH and it works correctly.

I am seeing some problems with the keyboard being left in non-echo mode after exiting from a nano-X application (say demo-ttfont) using the close box in the app, but not when hitting the nano-X server QUIT key (which is BREAK/Pause or now also ESC). I am still working on this problem.

from microwindows.

JulStrat avatar JulStrat commented on May 19, 2024

Hello, Greg.

The problem is now fixed, it was related to two problems, but would not show when the SCREEN_PIXTYPE was set to MWPF_TRUECOLORARGB, which was not the default for config.linux-fb.

Good news! I am testing your fixes on Raspberry.

Regards,
Julian.

from microwindows.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.