! 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 !
Window resize troubles
Status:
RESOLVED: FIXED
Product:
Xfmedia
Component:
playlist

Comments

Description Erik Harrison 2004-11-10 02:14:36 CET
I have a lot of CD rips with long titles. Adding them increases the size of the
xfmedia window, and it cannot be resized under the new maximum size, even if the
offending title is removed from the list.

For example, adding "We were all drunk when we recorded this and I still think
it's hillarious but no one else does.mp3" to the playlist expands the window to
fit this title. The window cannot be sized smaller horizontally than the song
title. and removing the song does not help.
Comment 1 Brian J. Tarricone (not reading bugmail) 2004-11-10 03:12:29 CET
indeed:

brian@copernicus ~/src/xfmedia4 $ cat NEWS
...
  Known Issues:
...
    * A long song title in the playlist itself can still make the window
      grow horizontally.

brian@copernicus ~/src/xfmedia4 $ cat TODO
...
* fix playlist column width annoyances
...

so yeah, known issue.  i don't think there's a way to fix this, at least not
without some other dumb problems.  i'm planning on backporting the ellipsization
support to GtkCellRendererText, though, so hopefully that should fix it.  it's
just a pain to do, and i'm not quite sure of the best way to do it yet.

btw, you _can_ resize the window, but you have to grab the sizing thingy for the
column in the treeview and drag it to the left first.  it doesn't appear that
anything actually happens when you do that, but afterwards you can resize the
window.  lame, i know.
Comment 2 Brian J. Tarricone (not reading bugmail) 2004-11-10 04:50:05 CET
well, nevermind.  your bug report spurred me to action, and i wrote a new cell
renderer for gtktreeview based on the old text one that uses benny's ellipsizing
code.  it doesn't ellipsize properly (i think i'm doing some size calculation
wrong), but at least the window doesn't appear to resize anymore.  it's in CVS;
anoncvs will sync in about 10 minutes.

Bug #484

Reported by:
Erik Harrison
Reported on: 2004-11-10
Last modified on: 2004-11-10

People

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

Version

Attachments

Additional information