Skip to content
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

Attribute table pop-up moving on screen #44050

Closed
Gooseman2021 opened this issue Jul 5, 2021 · 7 comments · Fixed by #52472
Closed

Attribute table pop-up moving on screen #44050

Gooseman2021 opened this issue Jul 5, 2021 · 7 comments · Fixed by #52472
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! GUI/UX Related to QGIS application GUI or User Experience Map Tools Related to non-digitizing map tools Regression Something which used to work, but doesn't anymore

Comments

@Gooseman2021
Copy link

Every time I add a new vector point to my layer the pop-up attribute screen opens (as it should). However, it moves vertically down the screen a little bit for every new point so after adding about 7 or 8 new points it has almost disappeared from the bottom of the screen.

This has only happened since the latest QGIS release 3.20.0

@Gooseman2021 Gooseman2021 added the Bug Either a bug report, or a bug fix. Let's hope for the latter! label Jul 5, 2021
@nicogodet
Copy link
Member

I think this is a Qt issue as I experience this annoying behavior since I switch to OsGeo4W testing/V2.

@Gooseman2021
Copy link
Author

Gooseman2021 commented Jul 5, 2021 via email

@nicogodet
Copy link
Member

Also happens with Identify tool.

If you don't close the opened dialog, next click will open a dialog at the same position.
If you close the opened dialog, next click will open a dialog slightly shifted in Y.
image

After a lot of opened windows:
image

@gioman gioman added GUI/UX Related to QGIS application GUI or User Experience Map Tools Related to non-digitizing map tools Regression Something which used to work, but doesn't anymore labels Jul 5, 2021
@Pedro-Murteira
Copy link

Still valid on QGIS 3.22.3.

@Rennie24
Copy link

Rennie24 commented Nov 9, 2022

  • Was still a valid bug in QGIS 3.24.0 w/ Qt 5.15.2 on Windows 10 20H2
  • Is still a valid bug on fresh install of QGIS 3.28.0 w/ Qt 5.15.3 on Windows 11 22H2

It appears that Qt's pop-up QDialog that appears when completing digitizing of a new feature is "marching" down and to the right a few pixels on each instance. I searched the Qt Bug Reports but couldn't find an exact issue related to this problem.

@esnyder-rve
Copy link
Contributor

Is this an upstream issue (a problem with Qt itself) or is this something that can be addressed on our end?

@YoannQDQ
Copy link
Contributor

YoannQDQ commented Apr 1, 2023

Calling restoreGeometry before the QDialog is actually shown have unexpected side-effects. What is happening is the widget is placed on the window as if it had no frame, then when the dialog is made visible (QDialog::show() is called) the frame kinda pops into existence, shifting the QDialog downwards (by the height of the windows titlebar) and slighlty rightwards (by some pixels, matching the border width of the window's frame).
#52472 delays the call to restoreGeometry until the dialog is actually shown, hopefuly fixint it without any side effects.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! GUI/UX Related to QGIS application GUI or User Experience Map Tools Related to non-digitizing map tools Regression Something which used to work, but doesn't anymore
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants