:tools: Scheduled maintenance

Heads up! Downtime for the Forums, related to the NodeBB upgrade, is planned for Thursday, December 14, starting from 10:00 UTC.
Please make sure to finish all your posts before this time. The downtime should only last for a few minutes.

Opera Mail labels

  • Can anyone explain the logic behind the display of labels in the in the mail views?

    I have set up labels and then a second tier of labels below those. With some of the combinations of labels the higher level is displayed first followed by the second, but in others , under the same higher level, the lower one is displayed first

  • In the mail panel under the "Labels" access point, each level of labels is sorted by name in ascending order. It's simple ASCII sorting. No fancy Unicode sorting. It's also case-sensitive where "Bob" comes before "bob".

    Nesting of labels in Opera is only visual though. A sub-label does not inherit the rules of its parent. But, you can duplicate rules in the sub-label and make use of "match messages in" to simulate inheritance. Since nesting is visual only, you can drag a label in and out of another label without affecting the dragged label's rules (and its parent/ancestors).

    Now, for the label display in the message list for each item, when you have "list and message on right" set for the mail layout, only one label is displayed next to the item in the message list, even if there are more labels applied to the message. The label that's displayed depends on the view you're in. If you're in the view for a label, that label will show. If you're in another view, the label that's shown is according to the fixed priority Opera gives each label. Apply multiple labels to a message to see what I mean. However, if the message has a priority, the priority level will show in the list instead of a label.

    If you use a different mail layout, the labels column in the message list will show all the labels applied to the message using the priority order that Opera uses. Again, apply multiple labels (in different order) to a message to see what Opera does.

  • Thanks for this response. However I am afraid that this is not the case with my mail.
    I have tried to paste a screen copy of the view but am unable to do so so I will try to explain what is happening.
    I have set up a label "Essex Vets" and within that labels "Forms 2014/15 and Olympian 2014/15".
    I add "Essex Vets" labels to all relevant mails first then add the sub label. In all displays showing both labels the labels are displayed as "Forms 2014/45, Essex Vets" or "Essex Vets, Olympian 2014/15"
    Tried changing "match messages in" but than all labels for that group were deleted"

  • K. I can try your set up to see exactly for myself. But, just note that whatever way Opera decides to list them, there's no way to change it.

  • Testing further, the order of the comma-separated list of label names in the label column seems to depend on which label was create before the other.

    So, if you created the Forms label before you created the Essex label and then put the Forms label under the Essex label, the Forms label will still be listed first as it was created first.

    One way you might be able to fix that is to edit index.ini in the mail folder where you swap what [index] the settings for the label (search for name=) are under. But, I don't know if Opera does it by index number or by seeing what ID is higher in value. If it's the ID, you can't change that.

    Another way is to just create all 3 of the labels again making sure you create Essex first, Forms second and Olympian 3rd. Then, you can apply those new labels to the messages in the corresponding old labels. Then, you can ctrl + a (to select all) in each of the old labels, right-click the selection, goto "delete" and choose "remove from view". Then, delete the old labels.

    Besides that though, I don't know what else you could do. That should give you enough to experiment though.

  • I have tried modifying the index.ini file with Opera Mail closed but when I start the program it appears to find a copy of the unmodified index.ini to overwrite my changes!
    However having looked at the file it seemed obvious that the key to my problem is the order in which the labels are created as all the labels are indexed and linked to a parent with an earlier index so I deleted and recreated all the labels in the correct order, as you suggest, and now it is ok.

    Thanks burnout246 for your help

  • However having looked at the file it seemed obvious that the key to my problem is the order in which the labels are created as all the labels are indexed and linked to a parent with an earlier index so I deleted and recreated all the labels in the correct order, as you suggest, and now it is ok.

    Awesome. Glad you got it.

Log in to reply
 

Looks like your connection to Opera forums was lost, please wait while we try to reconnect.