Re: Bug#777685: Resizing of Gnuplot Qt windows sometimes flicker and fail
On 2015-02-26 17:44:39 +0100, Vincent Lefevre wrote: I don't know what a ConfigureNotify request does, but I could see with xev -id windowid that when I resized the window with the mouse to something about 700x700 then released the mouse button, the last ConfigureNotify event, sent *after* I released the mouse button, was: ConfigureNotify event, serial 24, synthetic YES, window 0x2a5, event 0x2a5, window 0x2a5, (645,38), width 675, height 596, border_width 0, above 0x1003544, override NO and the window was resized to 675x596 (which is not the 700x700 I chose). I can't try right now, but what happens with the other window managers? With IceWm and GNOME, there are no ConfigureNotify events after I release the mouse button, so that the problem doesn't occur. So, these ConfigureNotify events when using fvwm do not seem to come from gnuplot, but are directly related to fvwm itself. -- Vincent Lefèvre vinc...@vinc17.net - Web: https://www.vinc17.net/ 100% accessible validated (X)HTML - Blog: https://www.vinc17.net/blog/ Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
Re: Bug#777685: Resizing of Gnuplot Qt windows sometimes flicker and fail
On Thu, Feb 26, 2015 at 05:08:20PM +0100, Vincent Lefevre wrote: On 2015-02-26 17:03:14 +0100, Vincent Lefevre wrote: I can reproduce the problem with the branch-2_6 branch. Hmm... I can't reproduce it with just: Style * ResizeOpaque So, that's at least something else that triggers the problem, and I need to find what... I have no time whatsoever for guessing games, and my ESP hat is a little worn out these days. What you can do if you want to, is get me as much information from xev(1) and xprop(1) in the case where it IS working, and that way I'll have some comparison. The fact that it's flickering a lot suggests to me that the application is sending lots of ConfigureNotify requests, but I'll reserve judgement on that until I get information. So I'll watch this space. -- Thomas Adam
Re: Bug#777685: Resizing of Gnuplot Qt windows sometimes flicker and fail
On 2015-02-26 17:08:20 +0100, Vincent Lefevre wrote: On 2015-02-26 17:03:14 +0100, Vincent Lefevre wrote: I can reproduce the problem with the branch-2_6 branch. Hmm... I can't reproduce it with just: Style * ResizeOpaque So, that's at least something else that triggers the problem, and I need to find what... Actually I can reproduce it with just Style * ResizeOpaque but it is easier to trigger the problem when there are other windows in the background. -- Vincent Lefèvre vinc...@vinc17.net - Web: https://www.vinc17.net/ 100% accessible validated (X)HTML - Blog: https://www.vinc17.net/blog/ Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
Re: Bug#777685: Resizing of Gnuplot Qt windows sometimes flicker and fail
Vincent Lefevre vinc...@vinc17.net writes: On 2015-02-25 23:24:46 +, Thomas Adam wrote: On Wed, Feb 25, 2015 at 03:06:25PM -0800, Vincent W. Chen wrote: Hi, Please retain the CC to 777685-forwar...@bugs.debian.org in your response, so that the Debian BTS has a record. Running gnuplot5-qt EOF plot '-' using 1:2 t '' with line 0 0 10 10 e pause mouse close print Done EOF creates a window. With ResizeOpaque set, resizing the window causes the window to flicker rapidly. The window also does not resize properly, as the size of the window does not correspond to the Can you reproduce this using the CVS version? I can't reproduce it. I can reproduce the problem with the branch-2_6 branch. Now I can too. It looks like the program realizes it's been resized and then calculates a size it likes better. When I drag it to a sufficiently larger size, the window bounces a bit then settles for a larger size a bit smaller than where I dragged it. xprop on the window: _NET_WM_USER_TIME(CARDINAL) = 498539938 WM_STATE(WM_STATE): window state: Normal icon window: 0x0 _WIN_AREA(CARDINAL) = 0, 0 _WIN_WORKSPACE(CARDINAL) = 0 _WIN_LAYER(CARDINAL) = 4 _WIN_STATE(CARDINAL) = 0 _NET_FRAME_EXTENTS(CARDINAL) = 8, 8, 30, 8 _KDE_NET_WM_FRAME_STRUT(CARDINAL) = 8, 8, 30, 8 _NET_WM_ALLOWED_ACTIONS(ATOM) = _NET_WM_ACTION_CHANGE_DESKTOP, _NET_WM_ACTION_CLOSE, _NET_WM_ACTION_FULLSCREEN, _NET_WM_ACTION_MAXIMIZE_HORZ, _NET_WM_ACTION_MAXIMIZE_VERT, _NET_WM_ACTION_MINIMIZE, _NET_WM_ACTION_MOVE, _NET_WM_ACTION_RESIZE, _NET_WM_ACTION_SHADE, _NET_WM_ACTION_STICK _NET_WM_DESKTOP(CARDINAL) = 0 _NET_WM_ICON_VISIBLE_NAME(UTF8_STRING) = Gnuplot window 0 _NET_WM_VISIBLE_NAME(UTF8_STRING) = Gnuplot window 0 _NET_WM_NAME(UTF8_STRING) = Gnuplot window 0 _NET_WM_SYNC_REQUEST_COUNTER(CARDINAL) = 50331662 _NET_WM_ICON(CARDINAL) =Icon (32 x 32): ... XdndAware(ATOM) = BITMAP _MOTIF_DRAG_RECEIVER_INFO(_MOTIF_DRAG_RECEIVER_INFO) = 0x6c, 0x0, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x10, 0x0, 0x0, 0x0 WM_CLIENT_LEADER(WINDOW): window id # 0x305 _NET_WM_PID(CARDINAL) = 24257 _NET_WM_WINDOW_TYPE(ATOM) = _NET_WM_WINDOW_TYPE_NORMAL _MOTIF_WM_HINTS(_MOTIF_WM_HINTS) = 0x3, 0x3e, 0x7e, 0x0, 0x0 WM_PROTOCOLS(ATOM): protocols WM_DELETE_WINDOW, WM_TAKE_FOCUS, _NET_WM_PING, _NET_WM_SYNC_REQUEST WM_NAME(STRING) = Gnuplot window 0 WM_LOCALE_NAME(STRING) = en_US.UTF-8 WM_CLASS(STRING) = gnuplot_qt, Gnuplot_qt WM_HINTS(WM_HINTS): Client accepts input or input focus: True Initial state is Normal State. bitmap id # to use for icon: 0x30b window id # of group leader: 0x305 WM_NORMAL_HINTS(WM_SIZE_HINTS): program specified minimum size: 69 by 120 window gravity: NorthWest WM_CLIENT_MACHINE(STRING) = home-home WM_COMMAND(STRING) = { gnuplot_qt } -- Dan Espen
Re: Bug#777685: Resizing of Gnuplot Qt windows sometimes flicker and fail
On 2015-02-26 16:11:11 +, Thomas Adam wrote: The fact that it's flickering a lot suggests to me that the application is sending lots of ConfigureNotify requests, but I'll reserve judgement on that until I get information. I don't know what a ConfigureNotify request does, but I could see with xev -id windowid that when I resized the window with the mouse to something about 700x700 then released the mouse button, the last ConfigureNotify event, sent *after* I released the mouse button, was: ConfigureNotify event, serial 24, synthetic YES, window 0x2a5, event 0x2a5, window 0x2a5, (645,38), width 675, height 596, border_width 0, above 0x1003544, override NO and the window was resized to 675x596 (which is not the 700x700 I chose). I can't try right now, but what happens with the other window managers? If these ConfigureNotify events come from gnuplot, do they ignore these ConfigureNotify events? -- Vincent Lefèvre vinc...@vinc17.net - Web: https://www.vinc17.net/ 100% accessible validated (X)HTML - Blog: https://www.vinc17.net/blog/ Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
Re: Bug#777685: Resizing of Gnuplot Qt windows sometimes flicker and fail
On 2015-02-26 17:03:14 +0100, Vincent Lefevre wrote: I can reproduce the problem with the branch-2_6 branch. Hmm... I can't reproduce it with just: Style * ResizeOpaque So, that's at least something else that triggers the problem, and I need to find what... -- Vincent Lefèvre vinc...@vinc17.net - Web: https://www.vinc17.net/ 100% accessible validated (X)HTML - Blog: https://www.vinc17.net/blog/ Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
Re: Bug#777685: Resizing of Gnuplot Qt windows sometimes flicker and fail
On 2015-02-25 23:24:46 +, Thomas Adam wrote: On Wed, Feb 25, 2015 at 03:06:25PM -0800, Vincent W. Chen wrote: Hi, Please retain the CC to 777685-forwar...@bugs.debian.org in your response, so that the Debian BTS has a record. Running gnuplot5-qt EOF plot '-' using 1:2 t '' with line 0 0 10 10 e pause mouse close print Done EOF creates a window. With ResizeOpaque set, resizing the window causes the window to flicker rapidly. The window also does not resize properly, as the size of the window does not correspond to the Can you reproduce this using the CVS version? I can't reproduce it. I can reproduce the problem with the branch-2_6 branch. -- Vincent Lefèvre vinc...@vinc17.net - Web: https://www.vinc17.net/ 100% accessible validated (X)HTML - Blog: https://www.vinc17.net/blog/ Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)