From: | Ashesh Vashi <ashesh(dot)vashi(at)enterprisedb(dot)com> |
---|---|
To: | pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org> |
Subject: | Graphical Explain Tooltip |
Date: | 2011-07-11 13:09:53 |
Message-ID: | CAG7mmoxN15BkBs_n+0xMAjc0YT+cDiV82BVBAg_rPcnjj8SEHA@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgadmin-hackers |
Hi,
Current behaviour of the ExplainPopup, requires a mouse click on the
ExplainShape to show it.
A lot of user will not able to figure out that until they accidentally click
on that shape or read the documents carefully.
Also - current implementation does not allow to use the ExplainCanvas in a
modal dialog.
For some experiment, I tried to use the ExplainCanvas in a modal dialog and
clicked on a shape.
A lot of time on linux, this scenario resulted in a crash or unstable
pgadmin application.
The attached patch enables the ExplainPopup to behave like the tooltip for
those shapes.
As per my conversation with Dave, I have extended the ExplainPopup using
wxTransientPopup or, wxFrame
(where not available wxPopWindow i.e. Mac), just like the wxTipWindow, and
also worked on the border around the
ExplainText.
I have tested it on all the platforms (i.e. OSX 10.6, Window 7 & Ubuntu
10.04)
--
Thanks & Regards,
Ashesh Vashi
EnterpriseDB INDIA: Enterprise PostgreSQL Company<http://www.enterprisedb.com>
*http://www.linkedin.com/in/asheshvashi*<http://www.linkedin.com/in/asheshvashi>
Attachment | Content-Type | Size |
---|---|---|
explain_tooltip_v10.patch | application/octet-stream | 11.0 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Dave Page | 2011-07-11 13:43:05 | pgAdmin III commit: Add an option to display notices sent by the server |
Previous Message | Thom Brown | 2011-07-10 12:45:36 | New key shortcuts for query window |