Customization Button Mark ?

Is ist possible to change the behavior of this button?
Now: Button = all read
Strg + Button = page is read

I want
Button = page is read
Button + Strg = all read.

It would be nice, if I can change this behavior.

Thanks, it's a great programm.
greetings mica

Sorry, English is not my native language.

Re: Customization Button Mark ?

Moved to General.

Brief can already do what you're looking for. Just right click Brief's icon in the status bar and select "Mark All Feeds As Read" to mark all unread items in all feeds read.

To only mark a feed as read without affecting the other feeds, right click a feed name in the left pane while in Brief and select "Mark Feed as Read". This marks the feed as read.

To only mark the current page of the feed or view you're on, Ctrl + left click the "Mark All Items as Read" button on the feed control bar (that bar with Previous Page, Next Page, Turn On/Off Headlines View, etc...).

Re: Customization Button Mark ?

But this behavior is a bit backwards, IMHO. It's far too easy to mark everything read when you only wanted the page read, and having this clue in the tooltip isn't always exactly useful, especially on a slow machine.

Re: Customization Button Mark ?

"It's far too easy to mark everything read when you only wanted the page read,..."

Yes, that is true.
thanks mica

Re: Customization Button Mark ?

But this behavior is a bit backwards, IMHO. It's far too easy to mark everything read when you only wanted the page read, and having this clue in the tooltip isn't always exactly useful, especially on a slow machine.

I agree it would be safer if marking only the current page as read was the default action. However, I suspect that marking everything as read is by far the more common action and it would be unacceptable to make it so difficult and - as you said yourself - not discoverable.

The right way to solve this is to implementing undo.

ancestor,
creator of Brief

Re: Customization Button Mark ?

Actually I disagree. Where the button is located, the intuitive behavior is to mark the view read, especially since you can mark all feeds read by r-clicking the status bar icon (which is a GoodThing™).

Besides... if you're going to mark everything read without reading, why bother getting the feeds? ;)

Re: Customization Button Mark ?

Some people don't mark items as read one by one while they're reading. Instead they mark everything at the end.

Anyway, I'm planning a major UI redesign which will probably do away with pagination altogether, which will make this issue irrelevant.

ancestor,
creator of Brief

Re: Customization Button Mark ?

"do away with pagination altogether"

This sounds scary. Care to elucidate?

Re: Customization Button Mark ?

Two words: Google Reader.
 
ancestor,
creator of Brief

Re: Customization Button Mark ?

Help yourself!

Close Firefox
Make a backup of extensions\brief@mozdev.org\chrome\brief.jar
Unzip extensions\brief@mozdev.org\chrome\brief.jar
Modify content\brief.js (line 191)

Change
markViewRead: function cmd_markViewRead(aEvent) {
var query = gFeedView.query;

if (aEvent.ctrlKey)
{
query.offset = gPrefs.entriesPerPage * (gFeedView.currentPage - 1);
query.limit = gPrefs.entriesPerPage;
}

query.markEntriesRead(true);
},

to

markViewRead: function cmd_markViewRead(aEvent) {
var query = gFeedView.query;

if (!aEvent.ctrlKey)
{
query.offset = gPrefs.entriesPerPage * (gFeedView.currentPage - 1);
query.limit = gPrefs.entriesPerPage;
}

query.markEntriesRead(true);
},

(just note the ! in the if)

Modify markViewRead.tooltip in brief.dtd in your language folder in locale (e.g. locale\de-DE\brief.dtd)

Unzip everything back to extensions\brief@mozdev.org\chrome\brief.jar

Start firefox.

Hannes

Re: Customization Button Mark ?

Yup, this will work. Good job, hannesd. :)
 
ancestor,
creator of Brief

Re: Customization Button Mark ?

Thanks @hannesd
But this solution is temporal, every time that Brief is actualized, we must do this modification again.
I think that the default behavior of this button should be: mark page as read.
Regards.

Re: Customization Button Mark ?

Thank you very much, hannes. But that is not a good soution for me. Now I updated, und I have to do it again. That's not so good. Please make the button possible to change in the preferences.
Mica

Re: Customization Button Mark ?

I just installed Brief and this is the first thing I wanted to change, mark all items as read on the current page only, not everything.  Anyway if doing away with pagination altogether is a planned feature then it's not a big deal, hannesd's modification works fine for now.  Although google reader like functionality would be fantastic.  Anyway great addon!