[prev in list] [next in list] [prev in thread] [next in thread] 

List:       qgis-user
Subject:    Re: [Qgis-user] Map tips not showing
From:       Thayer Young via QGIS-User <qgis-user () lists ! osgeo ! org>
Date:       2023-03-23 17:55:17
Message-ID: 1186857160.4387744.1679594117505 () mail ! yahoo ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


 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@lists.osgeo.org \
<qgis-user-request@lists.osgeo.org> wrote: From: Adam Nielsen \
                <a.nielsen@shikadi.net>To: qgis-user@lists.osgeo.org
Subject: Re: [Qgis-user] Map tips not showing
Message-ID: <20230323124538.3c8e22ea@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.


  


[Attachment #5 (text/html)]

<html><head></head><body><div class="ydpb8d133e5yahoo-style-wrap" \
style="font-family:Helvetica Neue, Helvetica, Arial, \
sans-serif;font-size:13px;"><div></div>  <div dir="ltr" data-setdir="false">Hi \
Adam,</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" \
data-setdir="false"><span>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.</span><br></div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" \
data-setdir="false">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...). <br></div><div \
dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false"><div \
dir="ltr" data-setdir="false">In my trouble shooting I was able to reproduce your \
problem on an older install of nightly/DEV (3.29.0, <span><a \
href="https://github.com/qgis/QGIS/commit/f23bdbdad1" rel="nofollow" \
target="_blank"><span style="text-decoration-line: underline; text-decoration-style: \
solid; text-decoration-color: currentcolor; color: rgb(65, 156, \
255);">f23bdbdad1</span></a></span> , 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.<br></div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" \
data-setdir="false">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.<br></div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" \
data-setdir="false">-Thayer</div><div dir="ltr" data-setdir="false"><br></div><div \
dir="ltr" data-setdir="false"><br></div></div><div dir="ltr" \
data-setdir="false"><br></div>  
        </div><div id="ydpd259dab0yahoo_quoted_0128425157" \
class="ydpd259dab0yahoo_quoted">On Thursday, March 23, 2023 at 04:36:55 AM EDT, \
qgis-user-request@lists.osgeo.org &lt;qgis-user-request@lists.osgeo.org&gt; wrote:  \
From: Adam Nielsen &lt;<a href="mailto:a.nielsen@shikadi.net" rel="nofollow" \
target="_blank">a.nielsen@shikadi.net</a>&gt;<div style="font-family:'Helvetica \
Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;"><div><div \
dir="ltr">To: <a href="mailto:qgis-user@lists.osgeo.org" rel="nofollow" \
target="_blank">qgis-user@lists.osgeo.org</a><br></div><div dir="ltr">Subject: Re: \
[Qgis-user] Map tips not showing<br></div><div dir="ltr">Message-ID: &lt;<a \
href="mailto:20230323124538.3c8e22ea@vorticon.teln.shikadi.net" rel="nofollow" \
target="_blank">20230323124538.3c8e22ea@vorticon.teln.shikadi.net</a>&gt;<br></div><div \
dir="ltr">Content-Type: text/plain; charset=US-ASCII<br></div><div \
dir="ltr"><br></div><div dir="ltr">Hi Thayer,<br></div><div dir="ltr"><br></div><div \
dir="ltr">Many thanks for your reply!<br></div><div dir="ltr"><br></div><div \
dir="ltr">&gt; Make sure you have the layer selected in the table of \
contents<br></div><div dir="ltr"><br></div><div dir="ltr">I can't find anything \
called "table of contents" but there is a panel<br></div><div dir="ltr">called \
"Layers" where I can tick/untick them to show/hide layers, and<br></div><div \
dir="ltr">if I click on a layer to select it (a layer with HTML in the \
Display<br></div><div dir="ltr">properties) then the layer name is drawn in the layer \
list with a blue<br></div><div dir="ltr">background to indicate it is selected, \
however I still don't see any<br></div><div dir="ltr">popups when hovering over that \
layer's markers on the map.<br></div><div dir="ltr"><br></div><div dir="ltr">&gt; and \
hover over the feature for several seconds (e.g. 2 or 3). When I<br></div><div \
dir="ltr">&gt; say hover, I mean do not move the pointer.<br></div><div \
dir="ltr"><br></div><div dir="ltr">I have hovered for 10 seconds with my hand off the \
mouse to be extra<br></div><div dir="ltr">sure and still nothing appears.&nbsp; In \
the options, the popup time is the<br></div><div dir="ltr">default of 850 \
milliseconds.&nbsp; If I hover over the buttons on the<br></div><div \
dir="ltr">toolbar then tooltips appear successfully, as they do throughout \
the<br></div><div dir="ltr">various dialog boxes, so it doesn't appear to be a \
problem with my<br></div><div dir="ltr">technique.<br></div><div \
dir="ltr"><br></div><div dir="ltr">I am not sure how exact you have to be when \
hovering over the symbol on<br></div><div dir="ltr">the map, but I have tried \
hovering over a bunch of symbols that were<br></div><div dir="ltr">clustered \
together, a few pixels above/below/beside the marker,<br></div><div \
dir="ltr">enlarging the marker, etc. but nothing is popping up.<br></div><div \
dir="ltr"><br></div><div dir="ltr">&gt; Make sure that there is a check mark by "Show \
Map Tips" in the "View"<br></div><div dir="ltr">&gt; top menu.<br></div><div \
dir="ltr"><br></div><div dir="ltr">There is no check mark but the icon is drawn \
"pressed" (like the<br></div><div dir="ltr">toolbar button) when it is \
activated.&nbsp; I can select it multiple times<br></div><div dir="ltr">to alternate \
between "normal" and "pressed", just like the toolbar<br></div><div \
dir="ltr">button.&nbsp; Regardless of whether the menu item is drawn in the \
pressed<br></div><div dir="ltr">state or not, there are no popups.<br></div><div \
dir="ltr"><br></div><div dir="ltr">&gt; You might want to try changing the tool, and \
click on the map window<br></div><div dir="ltr">&gt; or pan the window and try \
hovering again.<br></div><div dir="ltr"><br></div><div dir="ltr">I tried changing to \
the zoom tool and clicking a few times, then<br></div><div dir="ltr">hovering - no \
popup.&nbsp; I changed back to the pan tool - no popup.&nbsp; I<br></div><div \
dir="ltr">tried panning around a bit and hovering again - no popup.<br></div><div \
dir="ltr"><br></div><div dir="ltr">&gt; Also you may want to restart QGIS and start \
from scratch setting up<br></div><div dir="ltr">&gt; the Display tab of the Layer \
Properties.<br></div><div dir="ltr"><br></div><div dir="ltr">I have restarted QGIS \
and added new HTML to a different feature, but<br></div><div dir="ltr">there is still \
no popup.<br></div><div dir="ltr"><br></div><div dir="ltr">&gt; I am using the same \
QGIS version but it is built with an older Qt,<br></div><div dir="ltr">&gt; etc. and \
it works for me, I just have to change the text or<br></div><div dir="ltr">&gt; \
background color to make it legible. &lt;h1<br></div><div dir="ltr">&gt; \
style="background-color:Tomato;"&gt;[% "LABEL_TEXT" %]&lt;h1&gt;<br></div><div \
dir="ltr"><br></div><div dir="ltr">I tried changing the colour like this but still no \
popup.&nbsp; I have tried<br></div><div dir="ltr">it with a dark satellite map \
background and the default grey background<br></div><div dir="ltr">and can't see any \
hint of a popup.&nbsp; I have also tried setting the popup<br></div><div dir="ltr">to \
just plain text without using any fields (so it should always<br></div><div \
dir="ltr">display even if the fields are all blank) but still no popup.<br></div><div \
dir="ltr"><br></div><div dir="ltr">Any other ideas what could be \
happening?<br></div><div dir="ltr"><br></div><div dir="ltr">Many \
thanks,<br></div><div dir="ltr">Adam.<br></div><div dir="ltr"><br></div><div \
dir="ltr"><br></div></div>  </div>
        </div></body></html>



_______________________________________________
QGIS-User mailing list
QGIS-User@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic