-
Notifications
You must be signed in to change notification settings - Fork 61
contourview display is now always a perfect 1:1 aspect ratio #263
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
I would like to review it by using it. However I don't know how to get a build with that in it but not released. I don't really want to upgrade to Qt6 yet so I probably can't build that code. If I could then perhaps just switching to master and pulling the latest will work. I don't know. I'm busy as always. So don't have much time to commit to it. |
|
Dale here you go : https://github.com/githubdoe/DFTFringe/actions/runs/19196205264/artifacts/4508565928 Each time a PR is opened the installer is automatically created. I can make a tutorial for you to access it for you to store and remember or you can ask and I paste link. No problem. |
|
I tested only Linux as windows build is very long... I have been too confident . |
|
By the way I actually use the fact the contour displays dimensions values in pixels. That is the fastest way to check the size that someone used for their wave front analysis. I would be disappointed if that changed. |
|
🚀 New build available for commit |
|
This one works. You can test with link from comment above. Low priority linux builds are failing for server reason. Should be fine in couple of hours. |
|
🚀 New build available for commit |
8356209 to
f87779e
Compare
|
🚀 New build available for commit |
|
🚀 New build available for commit |
51ae0d3 to
4aad6aa
Compare
|
🚀 New build available for commit |
4aad6aa to
f87779e
Compare
|
🚀 New build available for commit |
|
🚀 New build available for commit |
|
I found an other problem. Zoom is not working when X axis is shorted then Y axis. |
|
right click to come back from zoom also does not enforce square ratio |
|
While you are fixing this code, please fix the other one which is issue #56 if you zoom in on the contour and then load another wavefront, it doesn't zoom out (you are still zoomed in on the same area but on the new wavefront) and if you try to zoom out it won't because it thinks it already is zoomed out. |
f87779e to
5a7d867
Compare
|
🚀 New build available for commit |
|
🚀 New build available for commit |
f650992 to
c7a70b5
Compare
|
🚀 New build available for commit |
|
🚀 New build available for commit |
|
Are you still working on this @atsju? It's still in draft mode. Just checking in case you forgot. I think I'll fix something easy today from the issues list. |
Nice catch thanks |
|
Also check the view in the report if you have not already. |
|
🚀 New build available for commit |
|
Ready for testing |
|
🚀 New build available for commit |
|
Didn't get to this today. Hope to look at it tomorrow. |
|
@atsju - I found a bug. If I lower the resolution to 500 you can't zoom in anymore. You did fix my old zoom in bug. And I like your solution. But there is a new bug (maybe an old bug?). So load an igram and when you get to the DFT page, lower the resolution to 500 (I initially found the problem when I lowered it from 600 to 300 but 500 seems to be low enough). Then click "recompute DFT" button. Then "compute surface" as you normally would. Now you can't zoom in on the contourplot. I think you can get it in a bad state where other contours at 600 stop being able to zoom in but I couldn't duplicate that. This bug was hard for me to isolate so it can be duplicated every time but here you go - just do what I said above. I even tried deleting everything in my registry under DFTFringe and restarting dftfringe to be sure this happens every time. Version 8.2.0 is fine with zooming in when the resolution is 500 pixels. |
|
If you have any trouble duplicating, try lowering to 300 pixels resolution. |
|
By the way, I really love this feature. I played with it quite a bit and when I went back to v8.2.0 I was surprised to notice how annoying it is to have an elliptical contourview. |
|
I will look at the bug. Thank you for extensive testing.
This I will not fix now. As you said, it's brocken for a while. I already openned #271 so we keep track. |
|
@gr5 I think this is now fixed. It was a race condition in display updates. |
|
🚀 New build available for commit |
|
I found two bugs/issues which may or may not be related to your changes. The first one: did we get rid of elliptical mirrors recently? I know we talked about it as being a special case and how they work differently from the normal process but I didn't think we took it completely away. Did we? Anyway either I just forget how to do it or we can no longer trace "elliptical flats". |
|
The other issue is that you seemed to have merged in master so you have my newer code that lets the right tool bar be smaller. But it's now ALWAYS right at the minimum. I can't make it bigger. And when I did that PR, I put the minimum very small so things overlap a bit and you can't quite read some of the buttons and such. It's not ideal. When I try to make the right tool bar bigger, the mouse flickers to the other mouse pointer shape and when I try to click and drag, it just does buggy things. But it never allows me to make the right toolbar bigger. Sometimes it does nothing, sometimes it dissappears (and recovers if I just click over there anywhere). I'm thinking @atsju that you changed something: maybe the code that deals with the "teal" separators or maybe the code that deals with the mouse dragging to zoom in on the contour plot. Anyway, for some reason I can't change the size of the right tool bar anymore. |
Last time we discussed Elliptical whas there #272 |
I will have a look. I did not change the code in the way you think. However to keep things square during resize, there are many QT events and I now recompute canva and picture ratio when you drag any menu. |
|
Okay so "elliptical secondary mirrors" that are wider than tall work fine with your new code. I mean it works really well! Ones that are taller than wide chop off the top and bottom. But this happened with the old code as well. If there is a fix it might be to enforce that the images are horizontally wider than tall. I don't think you should worry about this. |
|
Hi @gr5 I tried the lastest installer and I reproduce same behavior at 125% I already signaled when reviewing the right tab size PR My process is:
Could you share a video capture of your test/behavior ? It's not urgent at all though. No pressure! I feel a bit sorry you do all the testing and some things I could have seen. So I really want to thank you for this work and the effort you put here ! |
|
I used the version of DFTF above that github created where it says "download installer here". It says "3 days ago" on the post. about 7 posts above. I'll create a video of the issue and post on youtube and put a link to it here. https://www.youtube.com/watch?v=wvbl5Mw1j3g Okay I can't duplicate the problem. And I tried very hard. So I'll approve it. But there is still an issue - please watch the video. Actually I'll create an issue that links to this video. |
|
Thank you again for extensive testing and the video. @githubdoe do you have any remarks before we merge this ? |



Low priority but nice small change.
test it out and we can have it in next release
list of issues that still need to be fixed: