Thread: Graphical Explain Tooltip

Graphical Explain Tooltip

From
Ashesh Vashi
Date:
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.linkedin.com/in/asheshvashi


Attachment

Re: Graphical Explain Tooltip

From
Dave Page
Date:
Thanks, applied.

On Mon, Jul 11, 2011 at 2:09 PM, Ashesh Vashi <ashesh.vashi@enterprisedb.com> wrote:
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.linkedin.com/in/asheshvashi




--
Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-hackers




--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company