Comments (21)
It's worth noting what I wrote at imgui-rs/imgui-rs#582 (comment). To fix #323 we will be switching in the new year to @lucasmerlin's egui_skia, OpenGL by default, with Vulkan optionally, across all GUI MFEK modules like this one.
That might fix this; in my tests so far it does. It also might not. But @jakeisnt the core GUI rendering has such large planned changes I don't think it's worth fixing this issue unless it's through the planned upgrade path. :-)
from glif.
I just tested this on an Intel mac on macOS 11 and still get the same stretching.
I think from a UI/UX perspective it is a major issue, but I'm a UI snob I guess.
from glif.
Also if Seth has no time @eliheuer can test with me just as well. I could not find an affordable macOS virtualization service with GPU support so have not been able to determine another way to test, and the Foundation is (I am) naturally quite against the idea of purchasing an Apple computer to do local testing.
from glif.
I have determined the fastest way to fixing Mac issues is for me to just use someone else's Mac PC and try a bunch of things until I fix it.
Thanks for showing me the issue, it's just as weird as I thought. For sure @Subject38 and I would have noticed this. So, I can't really fix it until someone has time to dedicate to a remote session.
Because I also tried with @Subject38 to just send patches I thought might work in the past and it was a ton of useless work for both of us, in terms of patch management, copying, pasting, it not working, me getting back a video, etc.
from glif.
sub38@fear ~ % vulkaninfo | grep Version
WARNING: [MoltenVK] Code 0 : Unrecognized CreateInstance->pCreateInfo->pApplicationInfo->apiVersion number (0x004020c6). Assuming MoltenVK 1.1 version.
Vulkan Instance Version: 1.2.198
Looks like version 1.2.198
.
I never updated after initially installing so that's likely why...
from glif.
Uh oh. How do we think this happened @Subject38? Might you have time to test with me via TeamViewer again some time soon?
from glif.
Did I split the scale into (x,y) components and forget a min()
? That's my first thought but I think we would have caught it so it might be more Apple fuckery, they cannot seem to keep their API's straight.
from glif.
@ctrlcctrlv It is a bit hard to see what is going on in just a screenshot, so I made a YouTube video showing the bug here: https://www.youtube.com/watch?v=VzSWypCgkdQ
This is on a 2020 Apple M1 Mac Mini, macOS 11.6.5.
from glif.
I just tested on Arch Linux and was able to resize the window without any stretching of the UI, video example here: https://www.youtube.com/watch?v=ZmyjAzNq7hs
So this is a MacOS bug, happy to help look into this, I'll see if I get the same thing on a older Intel non-M1 mac next.
from glif.
Humorous new tag:
from glif.
I updated to macOS 12.5.1 tonight and I still get the same stretching when resizing the window. So macOS 11 was not the problem.
from glif.
Just tested on my local machine and I can confirm this issue exists. I feel like I might have noticed it before but didn't realise it was a big issue since after resizing all the UI elements go back to normal. I'm honestly not entirely sure what might be causing this behavior in the first place...
Currently running 12.5 btw
from glif.
after resizing all the UI elements go back to normal
Oh so this isn't even that big a deal but @Subject38 there's a bigger problem
I'm glad I tried to do a full build again on @t0lva's PC because I literally was on the phone w/her for an hour trying to build and it kept erroring out and it turns out we're blocked on aclysma/skulpin#108 (comment) for new VulkanSDK versions
What VulkanSDK do you have?
from glif.
(That's @t01va not @t0lva.)
from glif.
(Housekeeping: I'm downgrading this bug to minor and making a new one for the VulkanSDK update issue.)
from glif.
Thank you that jives perfectly w/@eliheuer's experience. I opened #323 for the SDK issue.
For the resizing...it's basically #295. Sorry I just don't think it's a big deal but of course it's still a bug so I'm leaving it open.
from glif.
@eliheuer I agree it looks really wonky and ugly (same with the blackout effect that happens on Linux). I'll be really honest, I just don't know how to fix it. Like there are callbacks and Vulkan something or other going on here, it's all wrapped up with Skulpin's Vulkan renderer in general and I am just as likely to make it worse as make it better.
@MatthewBlanchard is usually our 3D expert but he's been a bit MIA of late so if he doesn't fix it I don't know when/if it will be, and personally I don't see it as a major problem compared to all the other ones, so that's why I've tagged it low-priority
. That doesn't mean it needs to be low priority for you or anyone else including Matt, the tags just reflect my thinking as this project's maintainer. Anyone else is free to pitch in. :-)
from glif.
This issue has been merged with, and supersedes, #295.
from glif.
By the blackout effect, are y'all referring to the flickering/resetting effect that I receive? Screen recording to demonstrate the behavior on my system (Linux/NixOS/Wayland, using native Wayland, not XWayland). I don't see any scaling here.
Wondering if this is somewhere upstream rather than an issue here - cross-platform WM abstractions are tricky to get right. I'll keep playing around.
from glif.
Yes, the issues are one and the same and have the same root upstream cause.
from glif.
I'm very happy to hear about egui_skia and the big changes to the GUI rendering. Thanks!
from glif.
Related Issues (20)
- Suggestion for improving edit/history API in the editor. HOT 3
- can't find how to rotate selected parts of the glyph HOT 1
- is there an option to save changes in the current build? HOT 1
- On Wayland + Gnome 3 window resizing causes visual artifacts. HOT 2
- README: Note on system SDL2 needs improvement HOT 1
- VulkanSDK post-1.2.198 is broken on macOS HOT 3
- Backspace key: On-curve point deletion behavior is not consistent with other major font editors (and not user friendly IMO) HOT 2
- Point type gets set to PointType::Undefined when drawing a new contour. HOT 2
- When a point is selected attempting to draw a new contour results in the Move_Handle behavior instead. HOT 2
- Doesn't work on Thinkpad T500 (Intel Core 2 Duo P8400) driver i915 (Intel GM45 Express) HOT 1
- Idea: Mark intersections, mark X/Y-equal neighbors on selection
- simplify_selection endlessly loops on certain point in % of SomeTimeLater
- Off-curve handle UX is counterintuitive and hard to use. HOT 2
- "Industry Compatible" dialog idea HOT 6
- No minimum window size
- Live keybindings
- Outline rendering quality: uneven weight HOT 1
- Toolbar buttons are losing their square aspect ratio on GNU+Linux but not Wondows? HOT 1
- Build is broken on latest nightly toolchain HOT 3
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 glif.