From: | Sahil Harpal <sahilharpal1234(at)gmail(dot)com> |
---|---|
To: | Khushboo Vashi <khushboo(dot)vashi(at)enterprisedb(dot)com> |
Cc: | pgadmin-hackers(at)postgresql(dot)org |
Subject: | Re: Pgadmin4 System Stats Extension Design |
Date: | 2023-08-22 07:48:59 |
Message-ID: | CAKi=nndFui4CJ52widumsLJL7YXqWdH0ryT-Enn_AD7AXTzdaQ@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgadmin-hackers |
Hello Khushboo,
Thank you for sharing this with me. As you can see, towards the end, when
you encountered the tooltip issue, the size of the graph container was
changing. I even found this bug in the actual pgAdmin4 application
installed on my system. Please see the attached video.
Here's what I believe is happening: When the container's size changes, it
seems that tooltips continue to accumulate without being properly removed.
The method we use to display tooltips involves inserting a new element into
the DOM with the class name "uplot-tooltip". So, if we remove all the
existing tooltip elements before inserting a new one, it could potentially
resolve the issue. Would like to know your thoughts on this.
Thank you,
Sahil
On Mon, 21 Aug 2023 at 11:11, Khushboo Vashi <
khushboo(dot)vashi(at)enterprisedb(dot)com> wrote:
> See the attachment.
>
> On Mon, Aug 21, 2023 at 10:51 AM Sahil Harpal <sahilharpal1234(at)gmail(dot)com>
> wrote:
>
>> pgAdmin4-cursor-rec.mp4
>> <https://drive.google.com/file/d/19_Fw-hvZue4_1tTED9INss33eZcfdIEd/view?usp=drive_web>
>> Hi Khushboo,
>> On Mon, 21 Aug 2023 at 09:55, Khushboo Vashi <
>> khushboo(dot)vashi(at)enterprisedb(dot)com> wrote:
>>
>>>
>>> On Fri, Aug 18, 2023 at 10:08 AM Sahil Harpal <sahilharpal1234(at)gmail(dot)com>
>>> wrote:
>>>
>>>> On Thu, 17 Aug 2023 at 17:57, Khushboo Vashi <
>>>> khushboo(dot)vashi(at)enterprisedb(dot)com> wrote:
>>>>
>>>>>
>>>>> - The Tooltip for graph points remains on the page. Please refer
>>>>> to the below screenshot.
>>>>>
>>>>> Is this happening simply by moving the cursor within the graph area or
>>>> when resizing the screen?
>>>>
>>> This is happening by simply moving the cursor across the graphs on each
>>> tab. Maybe you can try to reduce the graph refresh rate to 1 second and try.
>>>
>>
>> I'm unable to reproduce the issue even after modifying the refresh rate
>> to 1 second. I have attached a screen recording to illustrate how it is
>> functioning on my end.
>> Do you have any thoughts on why the cursor issue might be happening?
>>
>
Attachment | Content-Type | Size |
---|---|---|
pgAdmin4-tooltip-on-resizing-window.mp4 | video/mp4 | 4.4 MB |
From | Date | Subject | |
---|---|---|---|
Next Message | Khushboo Vashi | 2023-08-22 10:32:28 | Re: Pgadmin4 System Stats Extension Design |
Previous Message | Akshay Joshi | 2023-08-21 09:46:53 | pgAdmin4 v7.6 candidate builds |