After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 410519 - Wider "Modified" column should display more detail (e.g. time+date)
Wider "Modified" column should display more detail (e.g. time+date)
Status: RESOLVED OBSOLETE
Product: gtk+
Classification: Platform
Component: Widget: GtkFileChooser
unspecified
Other Linux
: Normal enhancement
: Medium fix
Assigned To: gtk-bugs
Federico Mena Quintero
Depends on:
Blocks:
 
 
Reported: 2007-02-21 20:12 UTC by Matthew Paul Thomas (mpt)
Modified: 2018-04-15 00:39 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Matthew Paul Thomas (mpt) 2007-02-21 20:12:40 UTC
Currently resizing the "Modified" column in the filepicker is possible, but resizing it does not produce any more information. The contents of the column in the filepicker should become more detailed as the column is made larger. Examples of the same two items at different column widths:

|    12:46 PM| (bug 410517)
|08/01/2007  |

|Today 12:46 PM|
|08/01/2007    |

|Today      12:46 PM|
|08/01/2007  9:01 AM|

|Today                  12:46 PM|
|Monday, 8 January 2007  9:01 AM|
Comment 1 Federico Mena Quintero 2007-02-21 21:58:22 UTC
This is slightly tricky.

Could you please do some GIMP mockups of how the full file list would look?  I'm interested in knowing if:

a) we need to avoid "overlapping" columns of data such as

   |Today 12:46 PM|
   |08/Jan/2007   |

b) and have instead

   |Today       12:46 PM|
   |08/Jan/2007 11:45 AM|

To avoid overlaps, we need to measure all the variable-width strings (day names plus "Today", "Yesterday", etc.) and cache their widths until the font or style changes.  If overlaps are acceptable, we don't need to do that and the job is easier.
Comment 2 Matthew Paul Thomas (mpt) 2007-09-08 12:00:21 UTC
I don't think you need to avoid overlaps. Doing that would probably prevent any fix for bug 410517 anyway.
Comment 3 William Lachance 2008-03-06 21:49:04 UTC
Evolution has some code to do this for its calendar day view in evolution/calendar/gui/e-day-view.c. May be useful for inspiration.

It would probably be smart to do the date-formatting bit in conjunction with bug 325064.
Comment 4 Matthias Clasen 2018-02-10 05:10:57 UTC
We're moving to gitlab! As part of this move, we are moving bugs to NEEDINFO if they haven't seen activity in more than a year. If this issue is still important to you and still relevant with GTK+ 3.22 or master, please reopen it and we will migrate it to gitlab.
Comment 5 Matthias Clasen 2018-04-15 00:39:09 UTC
As announced a while ago, we are migrating to gitlab, and bugs that haven't seen activity in the last year or so will be not be migrated, but closed out in bugzilla.

If this bug is still relevant to you, you can open a new issue describing the symptoms and how to reproduce it with gtk 3.22.x or master in gitlab:

https://gitlab.gnome.org/GNOME/gtk/issues/new