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
Darktable window cannot be resized (DT 3.0, Windows 10) #3307
Comments
Confirmed - I have the same issue |
I am looking through the css, but i don't know any gtk stuff ... |
I have worked on grey theme so I have see the whole CSS. In CSS, nothing is related to window size and this problem seems to affect only Windows. Depending on screen size, panels size could have impact (only limits on reducing window though). So I really don't think it could be related to CSS. Could be more probably about Gtk/Cairo code related to GTK Windows port. |
This is a CSS issue IMHO. I can fix this by changing the CSS
After changing this and restarting Could somebody pls test it? |
Anyway, that doesn't mean it's a CSS issue. It's just mean it's a workaround to the Windows related bug. This issue doesn't affect Linux for example and adding padding here mean that all elements on the UI have now a padding of 1. Not wanted ! Waiting to find the real issue behind that wrong behaviour, have you test adding padding here (instead of all elements as you have test) : #outer-border If the workaround work here, adding a 1px padding only on outer borders will be better than an all items. |
I agree with Nilvus, if adding padding make the Window resizable it means that dt on Windows seems to be lacking some border around (could explain why one cannot grab the border of the application to resize it). So maybe we can fix that in the code when creating main Window? Or have the 1px border as proposed by Nilvius. |
To be clear, I mean in the C code as there we can add the 1px on the border only for Windows OS and not touch the other ports. |
Usually windows borders are drawn by window manager, application can just set some hints whether borders should be present at all. Is it different on Windows? |
I can reproduce it too, but some weeks ago everything was fine in the dev-version. Unfortunately i‘m not able to reconstruct when the behaviour changed - after an update of my msys environment or a specific commit |
I don't have this issue with 3.0.0RC0+22 and windows 7 (msys has not been updated for about a month) |
I can reproduce this issue with a newly recompiled 2.7.0+1395~ge6a3b3505 on Windows 10 with updated msys environment. Must be related to a new package. Not yet clear which updated package leads to this issue. |
If i change Changing only at |
I'm also not satisfied with changing the CSS, to be honest. With additional research it seems that the GTK3 package we have in MSYS2 has been changed early October (see the dropped CSD patch and the original bug), and that results that CSD is forced now for the GTK apps by default, and that might be the reason of this change in behavior. If you set the environment variable GTK_CSD=0 and launch darktable with the original CSS, window resize works again. I'm trying to discuss with MSYS folks what is the best approach here, however if you have ideas pls share. |
Just push GTK_CSD=0 to environment before calling gtk_init. |
Thx, this is working for me as well |
It looks like the MSYS folks are looking at putting the CSD patch back in the GTK3 package. |
I would suggest not to rely on that. They can remove it again later. |
I have talked with them :) |
For some of us that simply follow instructions in the build txt file for windows, please do share with us what would need an update in msys and how would we go about doing it when its ready. |
The command "$pacman -Syu" updates the installed package and core system packages of msys to the most recent released versions. |
Describe the bug
After installing the RC of Darktable 3.0 on Windows 10, i cannot resize the main application window. Fullscreen Toggle works, and on the top border of the winow at some locations the height can be changed. On the left, right and lower border resize does not work, i.e. the mouse cursor does not change to indicate a resizable window.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The Main window should be resizable
Platform (please complete the following information):
Additional context
I have two monitors, one 4K at 125% Scaling and one WQHD at 100%. I changed to only one Display at 100% but nothing changed.
Already have done a fresh install with all config files of old versions deleted.
The text was updated successfully, but these errors were encountered: