Comments (11)
Hello BolverBlitz, thank you for reporting this issue!
I can easily reproduce it on Windows 10. It is triggered only after minimize or Windows+D (which is essentially "minimize all" so no surprise). Hiding the cnping window with other windows is no problem.
Unfortunately I have no idea what causes this and currently no solid plan on how to debug this, but hopefully I or someone else will come up with something.
from cnping.
I just tried the exe from dab665d and 5c42452 with the same results, I think this bug has been there for ever.
from cnping.
I found out that the problem does not exist when cnping is compiled with OpenGL (the Visual Studio project file of Rawdraw does this as default so I was kind of lucky finding this).
With OpenGL minimizing is not a problem anymore but the font looks worse, so I guess you have to "choose your pain".
Top: Standard cnping after minimizing.
Bottom: OpenGL cnping (minimizing makes no difference)
from cnping.
- The bug is also triggered by resizing the window to minimal (i.e. zero) height.
- Another possible fix is the RASTERIZER flag instead of CNFGOGL. Maybe that is even better? (Performance looks good to me.)
- I pulled in changes from rawdraw and my pull request there. The font looks the same now with OpenGL.
from cnping.
@dreua I am up for considering this, though I'd really like to understand why my use of the Windows API would lead to this. It would be good to fix the upstream in rawdraw. Not sure if you've noticed, but I've merged a lot of stuff, including the not-needing-admin thing.
from cnping.
It's been some time since I looked into that - I believe I searched the net for a bit but didn't really find something about this bug. Is there some keyword or documentation link for the API you are using here?
from cnping.
(Unrelated to topic)
@dreua the work you are doing is AMAZING. I really regret not making more time to work on github stuff earlier this year. I am working on something I think you may appreciate. Do you have some mechanism we can communicate over more directly? Discord? I'm cnlohr#4125
from cnping.
Anyone else who's attacked this: Do you also feel like you're eating crazy pills. None of this makes sense why it's reverting to 1bpp.
from cnping.
@cnlohr I sent you a friend request on discord (david#7284). Do you use telegram by any chance (@dreuamainz)?
from cnping.
I do not use Telegram.
from cnping.
Here is the fix, in case someone else is interested: cntools/rawdraw@250023c
from cnping.
Related Issues (20)
- Signed exe HOT 9
- Keep gha up to date
- Fix searchnet
- Number cut off after many pings HOT 7
- Interesting: icmp without priviledges or capabilities HOT 3
- cnping makes Xorg to 100% single core CPU usage HOT 26
- Windows Options Dialog Text is cut off HOT 4
- Use rawdraw as git submodule HOT 2
- Makefile all multiple definitions HOT 10
- Info: rawdraw was recently changed to submodule - Readme if you have checked out this repo before May 2020 HOT 4
- support Visual Studio 2015 HOT 3
- cnping shows up as "Unknown" without icon in Gnome's Task Switcher HOT 1
- Should we link to OpenGL? HOT 6
- Pinging failing addresses randomly returns working in windows HOT 7
- Current master version doesn't work on Windows 10 (VM) HOT 5
- Every other HTTP ping has a very low (wrong) value for some servers HOT 3
- Coding style HOT 3
- Release 1.1.0 HOT 3
- New Icon? HOT 5
- Warn when using https:// HOT 4
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 cnping.