Opened 14 years ago

Closed 13 years ago

#1263 closed bug (Fixed)

Deluge does not remember column width

Reported by: C1eDoDe1 Owned by:
Priority: minor Milestone: 1.3.3
Component: GTK UI Version: 1.3.1
Keywords: column Cc:

Description

Deluge does not remember column width. And I should resize width of some columns every time I run Deluge. Kind of annoying.

Change History (9)

comment:1 Changed 14 years ago by C1eDoDe1

  • Component changed from other to gtkui

comment:2 Changed 14 years ago by simonbcn

This occurs also in 1.3.0_dev version.

comment:3 follow-up: Changed 14 years ago by johnnyg

How are you closing down the GTK UI? A normal shutdown preserves column widths for me.

comment:4 Changed 14 years ago by simonbcn

deluge-gtk + deluged remote (git version).
I have tested closing with "File > Exit" and with the close window button.
In both cases this fails.

comment:5 in reply to: ↑ 3 Changed 14 years ago by C1eDoDe1

Replying to johnnyg:

How are you closing down the GTK UI? A normal shutdown preserves column widths for me.

Classic mode. Tray -> right click -> close. Window was maximized. Columns gets the width of the widest text (expands). You have no wide texts in torrentname column, I think. Need screenshots?

comment:6 Changed 13 years ago by naikoto

Related Ticket #1231 and Ticket #1336

comment:7 Changed 13 years ago by Cas

  • Milestone changed from Future to 1.3.3
  • Priority changed from major to minor
  • Type changed from feature-request to bug
  • Version changed from 1.2.3 to 1.3.1

comment:8 Changed 13 years ago by Cas

This is a result of the label plugin removing its column from the treeview on shutdown which causes the following unforeseen issue:

In listview.py the method remove_column uses the treeview method below, which I found clears all width data to '0' for the remaining columns.

self.treeview.remove_column(self.columns[header].column)

This is normally fine as the width data seems to be refreshed automatically while the gtk window is open however when shutting down the application the width data is never refreshed before save_state is called so 0's are written to torrentview state file.

comment:9 Changed 13 years ago by Cas

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in 1.3-stable: 7c276f313

Note: See TracTickets for help on using tickets.