<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to 386: QwtPicker trackerPosition</title><link href="https://sourceforge.net/p/qwt/bugs/386/" rel="alternate"/><link href="https://sourceforge.net/p/qwt/bugs/386/feed.atom" rel="self"/><id>https://sourceforge.net/p/qwt/bugs/386/</id><updated>2025-07-18T08:36:58.885000Z</updated><subtitle>Recent changes to 386: QwtPicker trackerPosition</subtitle><entry><title>QwtPicker trackerPosition</title><link href="https://sourceforge.net/p/qwt/bugs/386/" rel="alternate"/><published>2025-07-18T08:36:58.885000Z</published><updated>2025-07-18T08:36:58.885000Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.net9ab01c0ecaca5a778e4a17e43ba1f90af77d8cbd</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;br/&gt;
There appears to be a minor bug in &lt;code&gt;QwtPicker&lt;/code&gt; when the tracker is enabled. The tracker position is only updated in &lt;code&gt;QwtPicker::widgetMouseMoveEvent&lt;/code&gt;, but not in &lt;code&gt;QwtPicker::widgetMousePressEvent&lt;/code&gt;. As a result, the tracker can sometimes appear in the wrong location with incorrect coordinates.&lt;br/&gt;
To reproduce the issue:&lt;br/&gt;
1. Set up a plot with both a picker and a zoomer.&lt;br/&gt;
2. Click anywhere to activate the picker's tracker.&lt;br/&gt;
3. Zoom the plot.&lt;br/&gt;
4. Click again (without moving the mouse) to activate the picker's tracker.&lt;br/&gt;
In this case, the tracker will appear at the "previous" position instead of the new one.&lt;br/&gt;
Note: The tracker position is also updated in &lt;code&gt;QwtPicker::begin()&lt;/code&gt;, but only if the tracker position hasn’t been initialized yet.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>