Thread: Bug with scratch pad
<div class="WordSection1"><p class="MsoNormal">Hello, I’d like to inform you, that I found bug with scratch pad and Querytool.<p class="MsoNormal"> <p class="MsoNormal">The bug is easy repeatable.<p class="MsoNormal"> <p class="MsoListParagraph"style="text-indent:-18.0pt;mso-list:l0 level1 lfo1"><span style="font-family:Wingdings"><span style="mso-list:Ignore">Ø<spanstyle="font:7.0pt "Times New Roman""> </span></span></span>Launch pgAdmin<p class="MsoListParagraph"style="text-indent:-18.0pt;mso-list:l0 level1 lfo1"><span style="font-family:Wingdings"><span style="mso-list:Ignore">Ø<spanstyle="font:7.0pt "Times New Roman""> </span></span></span>Connect to server (any?)<p class="MsoListParagraph"style="text-indent:-18.0pt;mso-list:l0 level1 lfo1"><span style="font-family:Wingdings"><span style="mso-list:Ignore">Ø<spanstyle="font:7.0pt "Times New Roman""> </span></span></span>Launch Query tool (sql editor)<pclass="MsoListParagraph" style="text-indent:-18.0pt;mso-list:l0 level1 lfo1"><span style="font-family:Wingdings"><spanstyle="mso-list:Ignore">Ø<span style="font:7.0pt "Times New Roman""> </span></span></span>Typeanything into scratch pad, leaving main window (query window) empty<p class="MsoListParagraph" style="text-indent:-18.0pt;mso-list:l0level1 lfo1"><span style="font-family:Wingdings"><span style="mso-list:Ignore">Ø<spanstyle="font:7.0pt "Times New Roman""> </span></span></span>Jump to Graphical query buildertab and immediately pgAdmin crashes<p class="MsoNormal"> <p class="MsoNormal">I think when jumping between tabs, pgAdmintries to send data from one tab to another, and somehow scratch pad is involved, and when you enter into sratch padsomething and it tries to send it to another tab, it crashes.<p class="MsoNormal"> </div>
On 20/08/15 03:33 AM, Julius Grybinas wrote:<br /><blockquote cite="mid:000201d0db1a$83ffb3b0$8bff1b10$@mb.vu.lt" type="cite"><style><!-- /* Font Definitions */ @font-face{font-family:Wingdings;panose-1:5 0 0 0 0 0 0 0 0 0;} @font-face{font-family:"Cambria Math";panose-1:2 4 5 3 5 4 6 3 2 4;} @font-face{font-family:Calibri;panose-1:2 15 5 2 2 2 4 3 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal{margin:0cm;margin-bottom:.0001pt;font-size:11.0pt;font-family:"Calibri",sans-serif;} a:link, span.MsoHyperlink{mso-style-priority:99;color:#0563C1;text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed{mso-style-priority:99;color:#954F72;text-decoration:underline;} p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph{mso-style-priority:34;margin-top:0cm;margin-right:0cm;margin-bottom:0cm;margin-left:36.0pt;margin-bottom:.0001pt;font-size:11.0pt;font-family:"Calibri",sans-serif;} span.EmailStyle17{mso-style-type:personal-compose;font-family:"Calibri",sans-serif;color:windowtext;} .MsoChpDefault{mso-style-type:export-only;font-family:"Calibri",sans-serif;} @page WordSection1{size:612.0pt 792.0pt;margin:3.0cm 1.0cm 2.0cm 3.0cm;} div.WordSection1{page:WordSection1;} /* List Definitions */ @list l0{mso-list-id:1312251171;mso-list-type:hybrid;mso-list-template-ids:-1264056486 146033868 67698691 67698693 6769868967698691 67698693 67698689 67698691 67698693;} @list l0:level1{mso-level-start-at:0;mso-level-number-format:bullet;mso-level-text:\F0D8;mso-level-tab-stop:none;mso-level-number-position:left;text-indent:-18.0pt;font-family:Wingdings;mso-fareast-font-family:Calibri;mso-bidi-font-family:"Times NewRoman";} @list l0:level2{mso-level-number-format:bullet;mso-level-text:o;mso-level-tab-stop:none;mso-level-number-position:left;text-indent:-18.0pt;font-family:"Courier New";} @list l0:level3{mso-level-number-format:bullet;mso-level-text:\F0A7;mso-level-tab-stop:none;mso-level-number-position:left;text-indent:-18.0pt;font-family:Wingdings;} @list l0:level4{mso-level-number-format:bullet;mso-level-text:\F0B7;mso-level-tab-stop:none;mso-level-number-position:left;text-indent:-18.0pt;font-family:Symbol;} @list l0:level5{mso-level-number-format:bullet;mso-level-text:o;mso-level-tab-stop:none;mso-level-number-position:left;text-indent:-18.0pt;font-family:"Courier New";} @list l0:level6{mso-level-number-format:bullet;mso-level-text:\F0A7;mso-level-tab-stop:none;mso-level-number-position:left;text-indent:-18.0pt;font-family:Wingdings;} @list l0:level7{mso-level-number-format:bullet;mso-level-text:\F0B7;mso-level-tab-stop:none;mso-level-number-position:left;text-indent:-18.0pt;font-family:Symbol;} @list l0:level8{mso-level-number-format:bullet;mso-level-text:o;mso-level-tab-stop:none;mso-level-number-position:left;text-indent:-18.0pt;font-family:"Courier New";} @list l0:level9{mso-level-number-format:bullet;mso-level-text:\F0A7;mso-level-tab-stop:none;mso-level-number-position:left;text-indent:-18.0pt;font-family:Wingdings;} ol{margin-bottom:0cm;} ul{margin-bottom:0cm;} --></style><div class="WordSection1"><p class="MsoNormal">Hello, I’d like to inform you, that I found bug with scratch padand Query tool.<p class="MsoNormal"> <p class="MsoNormal">The bug is easy repeatable.<p class="MsoNormal"> <p class="MsoListParagraph"style="text-indent:-18.0pt;mso-list:l0 level1 lfo1"><span style="font-family:Wingdings"><span style="mso-list:Ignore">Ø<spanstyle="font:7.0pt "Times New Roman""> </span></span></span>Launch pgAdmin<p class="MsoListParagraph"style="text-indent:-18.0pt;mso-list:l0 level1 lfo1"><span style="font-family:Wingdings"><span style="mso-list:Ignore">Ø<spanstyle="font:7.0pt "Times New Roman""> </span></span></span>Connect to server (any?)<p class="MsoListParagraph"style="text-indent:-18.0pt;mso-list:l0 level1 lfo1"><span style="font-family:Wingdings"><span style="mso-list:Ignore">Ø<spanstyle="font:7.0pt "Times New Roman""> </span></span></span>Launch Query tool (sql editor)<pclass="MsoListParagraph" style="text-indent:-18.0pt;mso-list:l0 level1 lfo1"><span style="font-family:Wingdings"><spanstyle="mso-list:Ignore">Ø<span style="font:7.0pt "Times New Roman""> </span></span></span>Typeanything into scratch pad, leaving main window (query window) empty<p class="MsoListParagraph" style="text-indent:-18.0pt;mso-list:l0level1 lfo1"><span style="font-family:Wingdings"><span style="mso-list:Ignore">Ø<spanstyle="font:7.0pt "Times New Roman""> </span></span></span>Jump to Graphical query buildertab and immediately pgAdmin crashes<p class="MsoNormal"> <p class="MsoNormal">I think when jumping between tabs, pgAdmintries to send data from one tab to another, and somehow scratch pad is involved, and when you enter into sratch padsomething and it tries to send it to another tab, it crashes.<p class="MsoNormal"> </div></blockquote> Right, there seemsto be a problem. On Linux openSUSE 13.2 with PGAdmin 1.22 Alpha 1 with default view in SQL pane everything works.<br/> However if I undock the scratchpad and enter something then problems start - SQL window opens and I can openschemas group but then SQL window remains open but stops responding for further input, but I can close the window. Youare right that something needs to be entered into the scratch pad. If empty, undocking does not interfere. Confirm?<br/>
Yes. With detached sratch pad there is no problem. PgAdmin will not crash.
From: pgadmin-support-owner@postgresql.org [mailto:pgadmin-support-owner@postgresql.org] On Behalf Of Colin Beckingham
Sent: Thursday, August 20, 2015 10:53 AM
To: Julius Grybinas <julius.grybinas@mb.vu.lt>; pgadmin-support@postgresql.org
Subject: Re: [pgadmin-support] Bug with scratch pad
On 20/08/15 03:33 AM, Julius Grybinas wrote:
Hello, I’d like to inform you, that I found bug with scratch pad and Query tool.
The bug is easy repeatable.
Ø Launch pgAdmin
Ø Connect to server (any?)
Ø Launch Query tool (sql editor)
Ø Type anything into scratch pad, leaving main window (query window) empty
Ø Jump to Graphical query builder tab and immediately pgAdmin crashes
I think when jumping between tabs, pgAdmin tries to send data from one tab to another, and somehow scratch pad is involved, and when you enter into sratch pad something and it tries to send it to another tab, it crashes.
Right, there seems to be a problem. On Linux openSUSE 13.2 with PGAdmin 1.22 Alpha 1 with default view in SQL pane everything works.
However if I undock the scratchpad and enter something then problems start - SQL window opens and I can open schemas group but then SQL window remains open but stops responding for further input, but I can close the window. You are right that something needs to be entered into the scratch pad. If empty, undocking does not interfere. Confirm?