-
Notifications
You must be signed in to change notification settings - Fork 80
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
relation list not updated #271
Comments
Thanks for reporting. Could you provide additional info to help me reproduce the problem?
Definitely sounds like a missing event somewhere, though I don't seem to catch it, maybe I'm looking for the wrong things. |
Trying to create the screenshot, I found out an even stranger aspect: If I start Merkaartor, then switch to Gimp on another virtual desktop, fire a screenshot with 10 s delay, then switch back to Merkaartor, then "load more", the relation list does load. I had to have Gimp on the same virtual desktop to create the screenshot with loaded map data and empty relation list. |
Same if I open Merkaartor, minimize+unminimize the window, then "load more" -> relation list complete. All I said about the relation list also applies to the "Ways" and "Nodes" tabs. Whenever the relation list is mistakenly empty, the Ways and Nodes lists are also empty. |
I see this now after switching from 0.18.4 built against Qt 5 to 0.20.0 built against Qt 6. (Well, for me, it is not occasional. The Features dock reproducibly never refreshes – until I force it to, see below.) Not sure whether it is due to the Merkaartor version (in which case 0.19.0 was probably where the regression was introduced) or the Qt version used to build it. What works for me to force the Features dock to refresh is to hide it and show it again. |
My quick guess would be that commit da22141 is what caused the regression. I can try building Merkaartor with that reverted locally. |
When I click the "Download more" button and a member of a previously not loaded relation is loaded, the relation list sometimes does not get updated. The update happens later at apparently random times, like when I move and edit around, or when I switch to another application and back to Merkaartor.
This is most obvious for multipolygon relations, when a member (border) is loaded but the relation is not; but I believe it happens with other relation types too.
I've experienced this problem since I updated from 0.18.2 to 0.19.
PS: Switching to another application does not work, but switching to another virtual desktop and back does, and minimizing+maximizing Merkaartor works as well. Seems like some refresh is missing on "Download more" but happening when the whole Merkaartor window is redrawn.
The text was updated successfully, but these errors were encountered: