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

Add "show tile image" to right click menu #1446

Closed
HolgerJeromin opened this issue Feb 18, 2017 · 28 comments
Closed

Add "show tile image" to right click menu #1446

HolgerJeromin opened this issue Feb 18, 2017 · 28 comments

Comments

@HolgerJeromin
Copy link
Contributor

As this page is to support the mappers opening the corresponding tile url would be helpful.

@tomhughes
Copy link
Member

Sorry but I really don't see that at all. In what way is the tile URL useful?

@HolgerJeromin
Copy link
Contributor Author

To refresh the tile without a browser cache. Shift f5 of the page often loads a cached tile.
Or I can request a rerender.

@tomhughes
Copy link
Member

That's a massively low level hack though and not something we would ever want to expose to a typical mapper or generally encourage. On top of which shift-reload does work fine in my experience.

@pnorman
Copy link
Contributor

pnorman commented Feb 19, 2017

I have found myself frequently needing to open up a tile in its own window for one reason or another, but I'm not a typical user.

@tomhughes
Copy link
Member

Yes I'm sure I'd find it useful sometimes but we're like the 0.001% here.

@Zverik
Copy link
Contributor

Zverik commented Feb 19, 2017

But isn't our website for us, the mappers?

@pnorman
Copy link
Contributor

pnorman commented Feb 19, 2017

We don't open tiles because we're mappers, we do that because we're style developers or server admins.

@tomhughes
Copy link
Member

I think I already said it was for mappers. The point is that even most mappers don't need this, or if they do then this is not the right way to provide it.

If we really felt it was necessary we should add a "refresh tile" option to the menu, not an option to load the tile so the user can then a magic incantation to the URL bar.

@dieterdreist
Copy link

dieterdreist commented Feb 19, 2017 via email

@tomhughes
Copy link
Member

Firstly I don't believe mappers really "need" to force a refresh in most cases - they may like to see their work rendered immediately but it's certainly not essential in most cases.

But here's thing, you can do that with a shift-reload already. This is not hypothetical as I've been doing some mapping myself recently and I do a shift-reload and wait a few minutes and do it again and bingo my new edits have rendered.

@SomeoneElseOSM
Copy link

Like those above I may not be a typical mapper, but I also find getting a tile URL useful. Usually this isn't as a way to dirty it, but as a way to share a tile, or view that same tile rendered with some other stylesheet.

@HolgerJeromin
Copy link
Contributor Author

Tom you closed this issue with a no before discussion started and did not reopen it. That is why I understand Zverik that he built the PR.

@BushmanK
Copy link

I don't know about other browsers, but Shift-RightClick still works perfectly in Firefox for bringing up browser's context menu.
It is better to learn about your browser before complaining.

@HolgerJeromin
Copy link
Contributor Author

@BushmanK
Your perfect firefox gives you in the browser context menu the full tile url?
What are you talking about?

@Zverik
Copy link
Contributor

Zverik commented Feb 20, 2017

Just checked: Shift+Right Click works in the Firefox for macOS, does not work in Linux.

@HolgerJeromin
Copy link
Contributor Author

#1447 fixes shift right click handling for all browsers but is still not deployed.
But has nothing to do with this issue so please keep on topic!

@polarbearing
Copy link
Contributor

My browser (mozilla/seamonkey), until some time last year, used to offer me "View image" in the browser's right-click menu, as long as I had not selected any additional layer such as data or notes. Since that does not work anymore, I have to go to the browser's debugging tools and wade through all images to find a specific tile.

@katpatuka
Copy link

Why not add it? An osm mapper knows that he could add a dirty or status parameter at the end of a tile url. A normal user doesn't know it so he would only think: what the hack is that for? But to get the tile's address is currently a pita.

@tomhughes
Copy link
Member

No, a typical OSM mapper certainly doesn't know that at all, and shouldn't need to. You do, but you are in no way typical.

@HolgerJeromin
Copy link
Contributor Author

@polarbearing
The image is hidden from pointer interaction in leaflet

Thats the reason the browser menu can not add "show image" as the rendered tile is not hit by the mouse.

@Zverik
Copy link
Contributor

Zverik commented Feb 20, 2017

I still do not understand why not. We see a lot of questions here, there is an ongoing discussion filled with frustration in the Russian telegram channel, there are some puzzled tweets. We have a pull request, so now it is not the "please do the work" kind of issue, but "why you won't merge it" one.

Whom the "show tile image" menu item would hurt? It is not prominent, it does what it says. Outsiders will see that it opens an image and will close the extra tab with a shrug. They won't leave the website or argue that the website is not usable anymore. The menu would still be tiny: it's not even eight items, like the Google Maps has.

Many mappers occasionaly need to get a tile URL. The most common usage is for /dirtying, programmers use it for testing downloaders and coordinate conversions, some copy the URL for the template to embed in their websites. It is not just ten or a hundred people.

As we learnt, shift+click does not work everywhere. The website is for mappers, so since we already have a popup menu, why not make a mapper's life a tiny bit easier by adding the extra menu item?

@BushmanK
Copy link

@HolgerJeromin, I've mentioned that since a lot of people are complaining about this new menu as about an obstacle to getting a tile URL. I don't have to know about their previous workflow, but the only thing that has changed after this new menu was added is that you can't call a context menu with RightClick. Personally, I've been always using built-in Code Inspector for that and nothing has changed for me.

By they way, wording like "your perfect Firefox" seems quite pathetic.

@Stalfur
Copy link

Stalfur commented Feb 20, 2017

Another mapper here who is missing the show image tile option.

This is quality of life issue.

@simonpoole
Copy link
Contributor

simonpoole commented Feb 21, 2017

May be there is a way out of this with endangering the quality of life of anybody :-). I agree with @tomhughes that simply providing a link to a map tile on which you have to perform obscure stuff to get useful information out of it doesn't really make a lot of sense and is hopelessly implementation dependent.

So what about an entry that shows a popup that lists all the stuff we often get asked about: for example the cache you are being served from, the tile status and potentially a button to force re-render it.

@polarbearing
Copy link
Contributor

... like the Show Tile Info in JOSM

@NopMap
Copy link

NopMap commented Feb 24, 2017

Yet another mapper and dev who misses the option to look at a single tile closely.

@qeith
Copy link

qeith commented Feb 24, 2017

I, also, would like to see a way to view individual tiles, and their corresponding url.

@openstreetmap openstreetmap locked and limited conversation to collaborators Feb 24, 2017
@tomhughes
Copy link
Member

So obviously somebody has been canvassing for "support" for this. Getting a couple of dozen hard core mappers to agree with you doesn't change anything.

We're talking here about what makes good UX for the 99% not what will make the 1% a little happier.

If you want something to show tile status then fine. I might even agree to an option to get the tile URL or expire a tile (though the latter is perhaps unlikely) but it needs to be properly integrated, not just dumping the URL in another tab and letting the user fiddle with it.

By all means add a "show tile status" menu entry that opens a popup or the side bar with the tile coordinates and last refresh date etc though - that would be vaguely sensible from a UX/UI point of view.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests