sillysloft / fluxbox

Fluxbox Window Manager (Mirror)
http://fluxbox.org/news/
Other
0 stars 1 forks source link

0.9.9 - Size popup wrong with fixed-minimum-sized windows #304

Open sillysloft opened 20 years ago

sillysloft commented 20 years ago

The centered popup for window sizes during resize shows only the delta between the current and new size of a window if that window has a minimum size (as indicated by the program). Basically, it shows the W and H as 0 initially, and H as 20 px if you make it taller by 20px. This only affects windows that have a minimum size. I first encountered this problem with grip (the music ripper).

Reported by: daevux

sillysloft commented 18 years ago

Original comment by: mark-t

sillysloft commented 18 years ago

Logged In: YES user_id=1538990

That is the appropriate behavior, according to the ICCCM, section 4.1.2.3:

The min_width and min_height elements specify the minimum size that the window can be for the client to be useful. The max_width and max_height elements specify the maximum size. The base_width and base_height elements in conjunction with width_inc and height_inc define an arithmetic progression of preferred window widths and heights for nonnegative integers i and j:

width = base_width + (i × width_inc) height = base_height + (j × height_inc)

Window managers are encouraged to use i and j instead of width and height in reporting window sizes to users. If a base size is not provided, the minimum size is to be used in its place and vice versa.

Original comment by: mark-t