Skip to content

321 date column#399

Merged
lwindolf merged 10 commits intolwindolf:masterfrom
mikelolasagasti:321-date-column
Sep 7, 2017
Merged

321 date column#399
lwindolf merged 10 commits intolwindolf:masterfrom
mikelolasagasti:321-date-column

Conversation

@mikelolasagasti
Copy link
Contributor

Fix proposal for #321

Invert order of columns, setting fixed width for date to 200 and filling space with headline.

@Leiaz
Copy link
Collaborator

Leiaz commented Sep 30, 2016

With your change the favicon ends up at the end of the line. I think it looks better in front of the headline.

@mikelolasagasti
Copy link
Contributor Author

Didn't realize about that. Now favicon is before the headlines and the attachment column between headline and date.

@Leiaz
Copy link
Collaborator

Leiaz commented Oct 2, 2016

Nice, thanks !

@Leiaz
Copy link
Collaborator

Leiaz commented Oct 4, 2016

The click to toggle flagged status (line 661) is broken by the column move.

@mikelolasagasti
Copy link
Contributor Author

@Leiaz thanks for spotting that issue!

@elpocko
Copy link

elpocko commented Oct 30, 2016

I prefer to resize the date column to its minimum width, so it is not visible anymore and does not take up space. I do this because the article date is irrelevant to me.

Would this change break this? Is it still possible to remove the date column?

@GreenLunar
Copy link
Collaborator

Perhaps a GSettings switch.

@mikelolasagasti
Copy link
Contributor Author

Current status: enclosure and date column are on the left
liferea-5
liferea-6

With this patches: enclosure and date column are moved to the right and date has a fixed size so title has all the remaining space
liferea-4
liferea-3

@elpocko
Copy link

elpocko commented Nov 1, 2016

Ah, thank you. Date is still irrelevant to me, but at least it won't get in the way anymore. That seems like a good compromise.

@lwindolf
Copy link
Owner

@mikelolasagasti The 200px hard-coded do prevent me from merging this... It should be auto-sizing because 200px mean totally different things on a 1280px wide screen width vs mad HiDPi screen widths...

@mikelolasagasti
Copy link
Contributor Author

@lwindolf I'll explore other options

@mikelolasagasti
Copy link
Contributor Author

@lwindolf now it uses GTK_TREE_VIEW_COLUMN_AUTOSIZE and it seems to do the trick but currently just have my laptop to test.

@Leiaz
Copy link
Collaborator

Leiaz commented Apr 3, 2017

Now there are two date columns :D
It looks like merging went wrong.

The default GTK_TREE_VIEW_COLUMN_GROW_ONLY should work too. Also the doc says :

Please note that GTK_TREE_VIEW_COLUMN_AUTOSIZE are inefficient for large views, and can make columns appear choppy.

@mikelolasagasti
Copy link
Contributor Author

Thanks @Leiaz !

I removed the duplicated date column and changed to use GTK_TREE_VIEW_COLUMN_GROW_ONLY.

I tested with Spanish locale and it resizes correctly in my laptop.

image

@Leiaz
Copy link
Collaborator

Leiaz commented Apr 6, 2017

You still have two enclosure icon columns. Don't forget to change the attribute for the icon from "pixbuf" to "gicon".

@mikelolasagasti
Copy link
Contributor Author

@Leiaz thanks again for reviewing. I removed the extra column and fixed the flag toggling logic when the favicon is not present.

@Leiaz
Copy link
Collaborator

Leiaz commented May 14, 2017

It looks good 👍

@lwindolf lwindolf merged commit 3309a96 into lwindolf:master Sep 7, 2017
@lwindolf
Copy link
Owner

lwindolf commented Sep 7, 2017

@mikelolasagasti Great work! Having the date out of the way makes focusing on the story titles much more pleasant.

@lwindolf lwindolf self-assigned this Sep 7, 2017
@lwindolf lwindolf added this to the 1.12.0 milestone Sep 7, 2017
lwindolf pushed a commit that referenced this pull request Sep 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants