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

[OsX] Georeferencer: can't set map coords from map canvas, and other odd behavior #13802

Closed
qgib opened this issue Apr 15, 2011 · 16 comments
Closed
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Digitizing Related to feature digitizing map tools or functionality
Milestone

Comments

@qgib
Copy link
Contributor

qgib commented Apr 15, 2011

Author Name: William Kyngesburye (@kyngchaos)
Original Redmine Issue: 3743
Affected QGIS version: master
Redmine category:digitising


When adding a GCP (Add Point) in the georeferencer window, I can't set the map coordinates from the map canvas. From the Enter Map Coordinates dialog, when I click the From Map Canvas button, a duplicate georeferencer window pops out of the QGIS application icon in the OSX Dock, then minimizes to the Dock, leaving an inactive copy of the georeferencer window. This copy stays on top of (covering) the now-active QGIS map window - I can't resize the window, it doesn't respond to mouse clicks except to move the window, but I can't move the window offscreen because it snaps back so it's completely within the screen.

Even in what I can see of the QGIS map window, if I click anywhere, at least the duplicate window goes away and the minimized window pops back, but no GCP is added, and I can't try to add any more. Also, in the map canvas window, if I pan and zoom around, there is no tool to switch back to to set the GCP map point. The only way to get exit all this is to bring the minimized back and close it, cancelling the georeferencer operation.

OSX 10.6.7, Qt 4.7.2

@qgib
Copy link
Contributor Author

qgib commented Jul 2, 2011

Author Name: William Kyngesburye (@kyngchaos)


  • assigned_to_id removed nobody
  • priority_id was changed from Low to High
  • must_fix was changed from No to Yes

@qgib
Copy link
Contributor Author

qgib commented Aug 12, 2011

Author Name: William Kyngesburye (@kyngchaos)


According to a user, docking the georeferencer appears to be a workaround (can't test this right now). After opening the initial Georeferencer window, open Preferences from the QGIS menu (confusing, since it opens georeferencer prefs at this point) and check "Show georeferencer window docked".


  • pull_request_patch_supplied was configured as 0

@qgib
Copy link
Contributor Author

qgib commented Nov 3, 2011

Author Name: Paolo Cavallini (@pcav)


Confirmed with current development snapshot

@qgib
Copy link
Contributor Author

qgib commented Nov 14, 2011

Author Name: William Kyngesburye (@kyngchaos)


I have a new view of the problem - it's not hung up on anything really, but the Enter Map Coordinates dialog is hidden.

After clicking in the map canvas for the destination coordinates, and the georeferencer window pops back out of the Dock, the Enter Map Coordinates is behind both the georeferencer window and the map canvas window. You need to move the two out of the way to get to it and click OK, then you have your GCP and can continue.

So, the first and primary bug is that the Enter Map Coordinates dialog is not reactivated after the Georeferencer window pops out of the Dock. A way to work around this is to first resize the map canvas window so some desktop is visible. When you start the georeferencer, resize its window too so that same desktop area is visible. Then, after clicking the source location in the Georeferencer window and the Enter Map Coordinates dialog first pops up, move that dialog off to that visible area of the screen (it resets its location to the center of the screen each time). Now you can activate the Enter Map Coordinates dialog after clicking the destination coordinate.

Another bug is that when the georeferencer is docked (Qt dock, not OS X dock), the georeferencer preferences (configure georeferencer, not transformation settings) is not available from the georeferencer window (Preferences, strangely, opens the keyboard shortcuts configuration dialog). The only way to get to Configure Georeferencer to undock the georeferencer is when the Enter Map Coordinates window is active.

@qgib
Copy link
Contributor Author

qgib commented Dec 16, 2011

Author Name: Giovanni Manghi (@gioman)


  • fixed_version_id was changed from Version 1.7.0 to Version 1.7.4

@qgib
Copy link
Contributor Author

qgib commented Dec 24, 2011

Author Name: Giovanni Manghi (@gioman)


  • crashes_corrupts_data was configured as 0
  • subject was changed from georeferencer: can't set map coords from map canvas, and other odd behavior to [OsX] Georeferencer: can't set map coords from map canvas, and other odd behavior
  • version was configured as master

@qgib
Copy link
Contributor Author

qgib commented Mar 26, 2012

Author Name: Giovanni Manghi (@gioman)


At a recent training course the issue still confirmed on a Snow Leopard Mac and QGIS 1.7.4: the georeferencer can't set GPCs from canvas. Nevertheless the tool is able to load a previously saved GPC file and perform the georeferencing operation.


  • fixed_version_id was changed from Version 1.7.4 to 35
  • status_info was changed from 0 to

@qgib
Copy link
Contributor Author

qgib commented Apr 15, 2012

Author Name: Giovanni Manghi (@gioman)


  • fixed_version_id was changed from 35 to Version 1.8.0

@qgib
Copy link
Contributor Author

qgib commented Jun 21, 2012

Author Name: Olivier redlead (@olivierdalang)


I'm not sure if the problem is the same (seems simpler here) :

After placing my point on the map canvas, the Georeferencer window reappears but in front of the point-input dialog. This forces me to move the Georeferencer window to be able to confirm the point, which is a little bit annoying.
(1.7.4 Snow Leopard)

But I have no such thing as duplicate or inactive windows...

@qgib
Copy link
Contributor Author

qgib commented Sep 1, 2012

Author Name: Matt Burton-Kelly (Matt Burton-Kelly)


Chiming in with Olivier redlead's issue in 1.7.4 Snow Leopard, but 1) is this issue creep and 2) is this issue a duplicate of #12274 ?

Olivier redlead wrote:

I'm not sure if the problem is the same (seems simpler here) :

After placing my point on the map canvas, the Georeferencer window reappears but in front of the point-input dialog. This forces me to move the Georeferencer window to be able to confirm the point, which is a little bit annoying.
(1.7.4 Snow Leopard)

But I have no such thing as duplicate or inactive windows...

@qgib
Copy link
Contributor Author

qgib commented Sep 3, 2012

Author Name: William Kyngesburye (@kyngchaos)


Olivier redlead wrote:

I'm not sure if the problem is the same (seems simpler here) :

Yes, that's the same problem.

Matt Burton-Kelly wrote:

Chiming in with Olivier redlead's issue in 1.7.4 Snow Leopard, but 1) is this issue creep and 2) is this issue a duplicate of #12274 ?

That looks like the same issue, now. This one started looking like a different, though similar problem, but is now exactly the same. The original problem was probably just a change in how Qt handled window activation/hiding.

I'd call this a regression.


  • priority_id was changed from High to Severe/Regression

@qgib
Copy link
Contributor Author

qgib commented Sep 4, 2012

Author Name: Paolo Cavallini (@pcav)


  • fixed_version_id was changed from Version 1.8.0 to Version 2.0.0

@qgib
Copy link
Contributor Author

qgib commented Apr 7, 2013

Author Name: William Kyngesburye (@kyngchaos)


Now that I'm back up to speed with the Mac build, I can verify that this is still a problem.

I thought about it a bit, and the solution may be simple: make the Enter coordinate dialog (qgsmapcoordsdialog) a floating window instead of a standard dialog window. Then it won't be left behind everything. You may need to move it a little to see the canvas better, but it's small.

I don't know Qt, so a patch would help so I can test this idea.

@qgib
Copy link
Contributor Author

qgib commented Apr 25, 2013

Author Name: Larry Shaffer (Larry Shaffer)


Should be fixed with commit 4aa013d

Please verify. Works fine here on Mac 10.7.5 with Qt 4.8.4.

@qgib
Copy link
Contributor Author

qgib commented Apr 25, 2013

Author Name: William Kyngesburye (@kyngchaos)


Yep, that works for me. Probably should get verification that this doesn't cause a problem on other systems.

@qgib
Copy link
Contributor Author

qgib commented Jun 1, 2013

Author Name: Giovanni Manghi (@gioman)


  • status_id was changed from Open to Closed
  • resolution was changed from to fixed

@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! Digitizing Related to feature digitizing map tools or functionality labels May 24, 2019
@qgib qgib added this to the Version 2.0.0 milestone May 24, 2019
@qgib qgib closed this as completed May 24, 2019
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! Digitizing Related to feature digitizing map tools or functionality
Projects
None yet
Development

No branches or pull requests

1 participant