Vincent Lefevre <vinc...@vinc17.net> writes:

> On 2015-02-25 23:24:46 +0000, 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 # 0x3000005
_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: 0x300000b
                window id # of group leader: 0x3000005
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

Reply via email to