! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
When playlist is folded the window kan be resized to a height of 1
Status:
RESOLVED: FIXED
Product:
Xfmedia
Component:
general

Comments

Description Peter de Ridder editbugs 2007-05-27 20:13:34 CEST
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.3) Gecko/20070217 Iceape/1.1.1 (Debian-1.1.1-2)
Build Identifier: 

When the play list is folded the window can be resize to a height of 1.
It would be expected that the window is not resizable in the height at all.

Reproducible: Always

Steps to Reproduce:
1.Open xfmedia
2.expand the playlist
3.fold it again

Actual Results:  
Window is resizable in height to a size of 1

Expected Results:  
Window is not resizable in height at all
Comment 1 Peter de Ridder editbugs 2007-05-27 20:16:03 CEST
Created attachment 1164 
patch for height resize

This patch blocks height resizing when playlist is folded.
this uses gtk_window_set_geometry_hints to set the max height
Comment 2 Brian J. Tarricone (not reading bugmail) 2007-05-27 23:14:12 CEST
Works well for me, great.  Committed to trunk.

BTW, for future reference, please test all patches with --enable-debug=full to eliminate any compiler warnings.  In this case it was just an unused var, but it can catch more serious issues.

Bug #3298

Reported by:
Peter de Ridder
Reported on: 2007-05-27
Last modified on: 2007-05-27

People

Assignee:
Brian J. Tarricone (not reading bugmail)
CC List:
0 users

Version

Version:
unspecified
Target Milestone:
xfmedia-0.10.0

Attachments

patch for height resize (4.97 KB, patch)
2007-05-27 20:16 CEST , Peter de Ridder
no flags

Additional information