|
From: Mojca M. <moj...@gm...> - 2014-02-26 22:53:35
|
On Wed, Feb 26, 2014 at 9:54 PM, Ethan A Merritt wrote: > On Wednesday, 26 February, 2014 09:24:37 Mojca Miklavec wrote: >> After applying your first patch only the first gnuplot run took half a >> minute to start. Subsequent runs take 4 seconds at most which is >> totally acceptable. > > OK, I have applied that first patch for #ifdef Q_OS_MAC only. Thank you, it works fine now. But is it on purpose that every mac/qt5 user will now get the following printed? Terminal type set to 'qt' gnuplot> plot cos(x) Error: short read from gnuplot_qt socket while expecting font metrics Error: short read from gnuplot_qt socket while expecting font metrics gnuplot> >> Now the only long delay comes from that long timeout after closing >> gnuplot_qt. Gnuplot throws "Error: short read from gnuplot_qt socket" >> when I quit gnuplot_qt, so it's probably aware that gnuplot_qt is no >> longer present. In such cases it could try to open a new gnuplot_qt >> faster than in 30 seconds. > > When you say "after closing gnuplot_qt", do you mean closing the > window, or do you mean killing the process? Killing it (= right mouse click -> Quit). I'm sorry for not being exact. > Simply closing the window should not have much effect; the program will > reopen the window as needed. Indeed. > Killing the process does indeed trigger > that 30 second timeout. A fix for that is also now in cvs. Great, thank you. It works as expected now. Thanks a lot for fixing all the issues and making Qt work again on Macs. ------------------- Among the remaining "visible flaws" only those come to my mind now: - the first plot gets too small window and the lower part of the plot is not visible; the difference is exactly the status bar; the second plot gets resized and gets the proper size; curiously enough this is now a problem with both Qt 4 and Qt 5 and must have been introduced with one of the recent changes (when I last tested only the reported size was changed, but there was no visible effect) - the default font is way too small; on my 13" notebook the numbers are only 1,5 mm high (7 pixels); I don't know the reason, but on wxt the font looks a lot better; maybe I should test a simple Qt application to see what defaults it uses - horizontal scrolling goes in the wrong direction since a while (and scrolling is way too fast for precise trackpads) – but both "problems" are present in other terminals as well - in Qt 5 the application doesn't show any icon (I already investigated a while back without luck) – that's just cosmetics though and doesn't hurt functionality in any way Mojca |