Bug 50263 - [bug] Client can be resized to negative
Summary: [bug] Client can be resized to negative
Status: VERIFIED FIXED
Alias: None
Product: Wayland
Classification: Unclassified
Component: weston (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Wayland bug list
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-23 00:47 UTC by ZhaoShengyan
Modified: 2012-07-26 01:32 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
it is strange that this behavior can realize and the appearance is odd. (151.24 KB, image/png)
2012-05-23 00:47 UTC, ZhaoShengyan
Details

Description ZhaoShengyan 2012-05-23 00:47:14 UTC
Created attachment 61999 [details]
it is strange that this behavior can realize and the appearance is odd.

System Environment:
--------------------------
Arch:       i386
Libdrm:     (master) 2.4.33-20-gd72a44c7c4f5eea9c1e5bb0c36cb9e0224b9ca22
Wayland:    (master)35a92ef83ba24a0cced3c7c6b9fcde377a88f83b
Mesa:       (master)c286278481b5d495223264332416d9e44eb625e7
Xserver:    (master)xorg-server-1.12.0-172-gba883a0f3435d5da82a8134e696c4905eea70f23
Xf86_video_intel: (master)2.19.0-67-g952e3dcba3a651d22d44dbb039ad97e111d9bc63
Cairo:      (master)aed94a5bc650f579368b4b814a8729570c32147e
Cairo_gl:   (master)aed94a5bc650f579368b4b814a8729570c32147e
Xkbcommon:  (master)8ca8f05aab86423c2495cd917489becfecca4632
Weston:     (master)380deee3c7b18574d66511287bb01dde51027fbf
Kernel_unstable:(drm-intel-next-queued)78d56d78c3ab5eeca35c6fcb10301418eda8c405

Bug detailed description:
-----------------------------
Run case dnd, move to the right edge of the client, drag it to the left until exceeding the orginal left edge and drop it. It is strange that behavior can be realize and the appearance of right edge exceeding the left edge of the client is odd too.
All the clients with resize function have the issue.
This can be reproduced both under drm and X mode.

Reproduce steps:
----------------------------
1. start weston
2. ./dnd
3. drag the right edge exceeding the left and drop it.
Comment 1 Kristian Høgsberg 2012-07-20 15:40:41 UTC
I pushed a fix for this.
Comment 2 ZhaoShengyan 2012-07-26 01:31:59 UTC
(In reply to comment #1)
> I pushed a fix for this.

Really thanks for your effort.
Now client window has minimal size, so it can't be resized to negative.
Therefore, mark this bug as Resolved and Fixed.
Comment 3 ZhaoShengyan 2012-07-26 01:32:47 UTC
Mark the bug as Verified and Fixed.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.