FET Forum

FET Development => Report a Bug => Topic started by: math on March 11, 2021, 09:57:47 AM

Title: Placement of dialogs out of screen
Post by: math on March 11, 2021, 09:57:47 AM
Hi!
I'm using the currentmost version of FET on MacOS (it's the version provided by Darren - thanks a lot for this service!). In this version I noticed that some dialog elements are placed outside of the screen if the FET window is placed too high in the main screen (see screenshot attached). I have to pull down the FET window to see all elments of these dialogs (i.e. the topmost entry "A teacher's not availability times").

Best, Matthias
Title: Re: Placement of dialogs out of screen
Post by: Liviu Lalescu on March 11, 2021, 10:46:41 AM
Sorry about this! It might be a Qt 6.0.2 thing.

Qt 6, compare to Qt 5, increases the dialogs with the scalability factor of your window system. So on my computer, FET compiled with Qt 5 is small and FET compiled with Qt 6 is 25% larger, because I have 125% scaled screen.

I don't know what to do.

Maybe you could make the main form smaller and put it on the top of the screen. The constraints will come downwards.
Title: Re: Placement of dialogs out of screen
Post by: Darren McDonald on March 11, 2021, 08:04:20 PM
Strange—I believe Liviu is correct about the scaling factor being an issue—I've only got one computer to test this on at work, but I haven't been able reproduce this behaviour with my (dual monitor) setup. Both monitors are set to the "Default for display" resolution, but when I've tested this with other resolution options I still couldn't manage to get the dialog boxes to extend beyond the viewing area.

Matthias, are you using Big Sur or an earlier MacOS verison? (I wonder if that might be a factor too. (I'm on Big Sur.)
Title: Re: Placement of dialogs out of screen
Post by: math on March 11, 2021, 08:27:07 PM
Hi Darren!

I'm still on Catalina (10.15.7) using "default for display" resolution.

Thanks to Liviu, this workaround is helping. Basically the problem only occurs if the FET window is in a specific range of the main screen. As soon as the window is a little bit above or below this range the dropdown menus are displayed correctly.

Best, Matthias
Title: Re: Placement of dialogs out of screen
Post by: Liviu Lalescu on March 11, 2021, 08:38:50 PM
Hello, Matthias and Darren,

Just a small clarification: The resolution of my display is 1920x1080, I just use a custom DPI settings of 125 instead of the default 90 (GNU/Linux XFCE window manager setting). When compiling with Qt 6, the dialogs are proportionally larger, but the text has nearly the same size.
Title: Re: Placement of dialogs out of screen
Post by: math on August 16, 2021, 10:55:05 AM
Hi!

I'm using the currentmost version of FET under OSX and faced again an issue with elements placed outside the screen. I'm trying to add the constraint "Set of activities not overlapping". When adding a constraint, I'm selecting the combox of of "Student set". When clicking the combo box, the list of student sets opens up. I can scroll down that list, but not up (see screenshot).

Do you have an idea how I can get to the top of that list?

Best, Matthias
Title: Re: Placement of dialogs out of screen
Post by: Liviu Lalescu on August 16, 2021, 12:29:43 PM
Hi, Matthias,

Maybe scroll the wheel of the mouse.
Title: Re: Placement of dialogs out of screen
Post by: math on August 16, 2021, 01:04:14 PM
Hi!
I already tried that. Does not help.
Title: Re: Placement of dialogs out of screen
Post by: Liviu Lalescu on August 16, 2021, 01:10:05 PM
I just tried on my computer with German_subact_constr.fet file. It works OK. Also, I did not change anything since the previous version.

You might want to reset to default settings.