[Qgis-user] Map tips not showing
Thayer Young
thayeray at yahoo.com
Thu Mar 23 10:55:17 PDT 2023
Hi Adam,
I should have said to activate it from the "View" menu, by clicking on "Show Map Tips" there, I did find that the first time I tried with the icon it did not seem to work, but when I clicked on it in the "View" menu it did start working, and after that I was able to toggle it on and off with the icon.
Sounds like you are doing what is necessary, and Andrea's suggestions will hopefully get you there, especially the last one try it with a new user profile with no plugins (Settings/User Profiles/New Profile...).
In my trouble shooting I was able to reproduce your problem on an older install of nightly/DEV (3.29.0, f23bdbdad1 , Qt 5.15.2, Python 3.9.5, GDAL 3.3.2) with a fresh user. Unfortunately the build for nightly for MacOS is failing right now, but I can confirm that map tips work in the latest LTR and PR (3.30.0). So it may have been fixed already? but the fix doesn't work on your build for some reason. You may want to report this as a bug, just be prepared for the response "it works on my machine", it may be specific to your Linux, or to the QGIS build that you are using.
By the way, please forgive my use of ESRI terminology when I called the "Layers" panel the "table of contents". Old habits are hard to break.
-Thayer
On Thursday, March 23, 2023 at 04:36:55 AM EDT, qgis-user-request at lists.osgeo.org <qgis-user-request at lists.osgeo.org> wrote: From: Adam Nielsen <a.nielsen at shikadi.net>To: qgis-user at lists.osgeo.org
Subject: Re: [Qgis-user] Map tips not showing
Message-ID: <20230323124538.3c8e22ea at vorticon.teln.shikadi.net>
Content-Type: text/plain; charset=US-ASCII
Hi Thayer,
Many thanks for your reply!
> Make sure you have the layer selected in the table of contents
I can't find anything called "table of contents" but there is a panel
called "Layers" where I can tick/untick them to show/hide layers, and
if I click on a layer to select it (a layer with HTML in the Display
properties) then the layer name is drawn in the layer list with a blue
background to indicate it is selected, however I still don't see any
popups when hovering over that layer's markers on the map.
> and hover over the feature for several seconds (e.g. 2 or 3). When I
> say hover, I mean do not move the pointer.
I have hovered for 10 seconds with my hand off the mouse to be extra
sure and still nothing appears. In the options, the popup time is the
default of 850 milliseconds. If I hover over the buttons on the
toolbar then tooltips appear successfully, as they do throughout the
various dialog boxes, so it doesn't appear to be a problem with my
technique.
I am not sure how exact you have to be when hovering over the symbol on
the map, but I have tried hovering over a bunch of symbols that were
clustered together, a few pixels above/below/beside the marker,
enlarging the marker, etc. but nothing is popping up.
> Make sure that there is a check mark by "Show Map Tips" in the "View"
> top menu.
There is no check mark but the icon is drawn "pressed" (like the
toolbar button) when it is activated. I can select it multiple times
to alternate between "normal" and "pressed", just like the toolbar
button. Regardless of whether the menu item is drawn in the pressed
state or not, there are no popups.
> You might want to try changing the tool, and click on the map window
> or pan the window and try hovering again.
I tried changing to the zoom tool and clicking a few times, then
hovering - no popup. I changed back to the pan tool - no popup. I
tried panning around a bit and hovering again - no popup.
> Also you may want to restart QGIS and start from scratch setting up
> the Display tab of the Layer Properties.
I have restarted QGIS and added new HTML to a different feature, but
there is still no popup.
> I am using the same QGIS version but it is built with an older Qt,
> etc. and it works for me, I just have to change the text or
> background color to make it legible. <h1
> style="background-color:Tomato;">[% "LABEL_TEXT" %]<h1>
I tried changing the colour like this but still no popup. I have tried
it with a dark satellite map background and the default grey background
and can't see any hint of a popup. I have also tried setting the popup
to just plain text without using any fields (so it should always
display even if the fields are all blank) but still no popup.
Any other ideas what could be happening?
Many thanks,
Adam.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20230323/7c9ccb3e/attachment.htm>
More information about the QGIS-User
mailing list