Menu

#57 rip column resizes instead of track name

Feature_request
closed-fixed
nobody
None
4
2003-10-02
2001-10-25
No

On CD's with long track names, the track name is
truncated in the display with the default grip window
size. When the window is widened using the window
manager, the GtkClist puts the extra space into the
last column (this behavior isn't configurable). Then
you have a Rip column that's several inches wide and
the track name is still truncated. You have to
manually resize the three columns of the track list.

To work around this limitation in Gtk, attached is a
patch to exchange the Rip and Track columns, so that
the track name expands to fill the available space in
the window. I made the column positions into macros so
it's easy to change which one is where. This is a good
idea even if you don't accept the resizing workaround,
to reduce magic numbers in the source code.

This diff was made after applying my patch in bug
#470820 to remember the track selection status after a
CDDB lookup. It also fixes a bug in that patch which
prevented it from compiling when GRIPCD was defined.

Discussion

  • David J. MacKenzie

    patch to reorder track display columns

     
  • David J. MacKenzie

    Logged In: YES
    user_id=29358

    I missed replacing a couple of numeric subscripts with
    symbolic ones, resulting in memory corruption. I will
    attach a corrected version of the patch, to go along with
    the updated patch in bug #470820.

     
  • David J. MacKenzie

    corrected patch to reorder columns

     
  • Mike Oliphant

    Mike Oliphant - 2002-01-07
    • milestone: 101382 --> Feature_request
    • priority: 5 --> 4
     
  • Mike Oliphant

    Mike Oliphant - 2003-10-02
    • status: open --> closed-fixed
     

Log in to post a comment.