Bug 61112 - resizing a window should show the size
Summary: resizing a window should show the size
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR wishlist
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-11 23:09 UTC by Mathieu Jobin
Modified: 2003-07-15 12:38 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mathieu Jobin 2003-07-11 23:09:12 UTC
Version:           unknown (using KDE 3.1.0)
Installed from:    compiled sources
Compiler:          gcc version 3.2.2
OS:          Linux (i686) release 2.4.21

just like konsole and many window manager do. resizing a window should show his size. and moving it should show is position.

i dont know how, but many window manager I've used before had this feature, and they even do a difference between terminal application like xterm/konsole and X application like konqueror. the difference is in the format of the size. terminal app size is shown in line/col and other app size is shown pixel.

but even konsole is bugged. it show only the size on mouse drop.
it should show on size change. when ever we move the mouse
Comment 1 Cristian Tibirna 2003-07-11 23:58:03 UTC
Subject: Re: [Kwin]   New: resizing a window should show the size

On Friday, 11 July 2003 17:09, Mathieu Jobin wrote:

> just like konsole and many window manager do. resizing a window should show
> his size. and moving it should show is position.

I understand why for konsole this feature is useful. I fail to see the 
usefulness for other kinds of applications. Could you please explain to me 
what is the use for this size/position display? Are you computing in your 
head the right size to give to a window or the correct position up to 
pixel-level precision?

Thanks.

Comment 2 Mathieu Jobin 2003-07-12 00:17:27 UTC
yes sometimes. 
but more praticaly. its usefull to resize a browser window to see if the webpage fit on 
those computer with small monitor. 
 
 
Comment 3 Mathieu Jobin 2003-07-12 00:21:42 UTC
s/praticaly/pratical example/ 
 
Comment 4 Maksim Orlovich 2003-07-12 02:39:28 UTC
Dochia: You're too late [;-) ], the feature is already in HEAD  - see window 
behavior,  Moving -> Display window geometry when moving or resizing. 
 
Comment 5 Mathieu Jobin 2003-07-14 18:14:07 UTC
I just compiled HEAD yesterday !  
the geometry is showing. but only the position is update whenever a move or resize 
the window. the size is not updated. 
 
also, there are some garbage that keep on the window while moving. 
the geometry box leave shit like a snail. 
 
personnaly I would reopen the bug because its not finish 
 
 
Comment 6 Karol Szwed 2003-07-15 12:38:18 UTC
>the geometry is showing. but only the position is update whenever a move or 
resize  
>the window. the size is not updated.  
 
Does this happen for all applications? If not, which ones don't work? I have no 
issues here - both position and size work fine. 
 
>also, there are some garbage that keep on the window while moving.  
>the geometry box leave shit like a snail.  
 
Turn on backingstore in your X server and you will stop seeing artifacts, or 'shit' as 
you so profoundly named it. 
 
eg. 'Option "backingstore"' in the screen section of XF86Config. 
 
Other window managers such as WindowMaker exhibit the same effect without 
backingstore. 
 
I think we'll need to add a warning message if the geometry tip is enabled without 
backingstore capability in the Xserver (for transparent move/resize only). 
 
>personnaly I would reopen the bug because its not finish  
 
WORKSFORME. Let me know if you're still having problems. 
 
Comment 7 Mathieu Jobin 2003-07-15 23:32:15 UTC
Subject: Re:  resizing a window should show the size

> Turn on backingstore in your X server and you will stop seeing artifacts,
> or 'shit' as you so profoundly named it.
> eg. 'Option "backingstore"' in the screen section of XF86Config.

it works fine ! the shit is gone :)
sorry for my absolutly unheardable vocabulary :)

> Does this happen for all applications? If not, which ones don't work? I
> have no issues here - both position and size work fine.
> WORKSFORME. Let me know if you're still having problems.

I found when the problem occurs. If you set to not show the content of the 
window while moving/resizing. the size of the window isnt updated when you 
resize it.