We have moved to a new Sailfish OS Forum. Please start new discussions there.
17

UI problem in mail app: menu entries

asked 2019-04-25 20:56:42 +0200

ossi1967 gravatar image

updated 2019-04-25 22:33:48 +0200

In the mail app, there used to be 3 menu entries from the main screen (the one that shows symbols for each account). The first was for creating a new mail, the second was for updating all accounts, the third was for selecting mails.

I noticed today that this changed for the worse: Now there's a new menu entry in the first position that lets me create an account. This menu entry used to be there only when no accounts where configured at all.

The usefulness of the new menu entry is disputable. The real issue is its position in the menu: It's in the first position, meaning I have to scroll by "Add account" each and every time I want to do something useful with the app.

Edit: Xperia X with 3.0.3 EA

edit retag flag offensive close delete

Comments

I don't have this "create an account" entry in 3.0.3.8

dirksche ( 2019-04-25 21:04:46 +0200 )edit

So the good thing is: it's not a conscious design decision. The bad thing is: how can I get rid of it if it's not reproducible? Which phone are you on? I'm on the Xperia x.

ossi1967 ( 2019-04-25 21:18:34 +0200 )edit

Also Xperia X

dirksche ( 2019-04-25 21:55:00 +0200 )edit

Did you try to add an account just for testing? Maybe the entry will disappear after this action?

dirksche ( 2019-04-26 07:58:25 +0200 )edit

I also see this on 3.0.3.8, and while I don't use this feature very often (using New email from this menu), I understand that this is a major drawback for those who frequently use it.

I have never seen this Add account item in this menu before, and I also question its use. I always was under the impression that accounts should/can be added from the settings app.

Maus ( 2019-04-26 09:54:22 +0200 )edit

2 Answers

Sort by » oldest newest most voted
9

answered 2019-04-26 11:18:00 +0200

This was introduced by accident, see IRC discussion with @pvuorela maintaining the email app. It will be removed in a later release.

@pvuorela did a nice job to simplify the QML code of the CombinedInbox page, creating a dedicated NoAccountsPage for the placeholder case. This avoid to create various QML objects on the same page that are visible only in separated cases. The mistake was introduced during this refactoring job.

edit flag offensive delete publish link more

Comments

Ah, thx for the explanation. :)

ossi1967 ( 2019-04-26 11:34:35 +0200 )edit

Someone also needs to make it follow the UI "example" of the rest of SFOS. :/

ApB ( 2019-04-26 15:24:14 +0200 )edit

Can't it be removed right now before this 3.0.3.8 release goes public? Personally, I am looking forward to some of the features announced in this release like the gecko upgrade, but I am going to hold off from updating my phone until I know for sure that this email menu issue has been resolved.

Guillaume L. ( 2019-05-04 20:04:25 +0200 )edit

@Guillaume L.: May I ask you why this issue is so important to you that it prevents you from doing the update? I'm still on 3.0.1.11 cause some people reported problems with SMS and that just has to work for me. But a misplaced menu entry?

Pohli ( 2019-05-04 23:14:26 +0200 )edit
1

@Pohli I use my smartphone for work and it is my only smartphone. I use the email app all the time. Besides, the fact that such a big thing went through unnoticed doesn't inspire confidence regarding the latest devs of the e-mail app. I am therefore going to wait.

Guillaume L. ( 2019-05-05 01:32:46 +0200 )edit
7

answered 2019-05-03 22:22:01 +0200

Spam Hunter gravatar image

updated 2019-05-04 18:07:41 +0200

Not an answer as such, but for visibility. If you don't care for tinkering, stop reading now.

Otherwise, if you want to remove the entry until the next OS update, read on...

line 79 of /usr/share/jolla-email/pages/CombinedInbox.qml

             MenuItem {
                //: Add account menu item
                //% "Add account"
                text: qsTrId("jolla-email-me-add_account")
                onClicked: {
                    app.showAccountsCreationDialog()
                }
            }

is responsible for the pulley menu entry in 3.0.3.x

Either delete the entire entry or add stars & stripes and the entry will be ignored;

         /*
         MenuItem {
             //: Add account menu item
             //% "Add account"
             text: qsTrId("jolla-email-me-add_account")
             onClicked: {
                 app.showAccountsCreationDialog()
             }
         }
         */

I would be happier to see a link in a bottom pulley menu to go to current accounts page where we can disable/sync/edit accounts, this would be handy for managing many accounts as I do (up to 27). Or perhaps, just add a link in the combo box menu of the account in the app, currently 'update' populates that same menu.

ADDITIONAL:

I'll go one further, as I had already been toying with the idea anyway, again, if you don't care for tinkering or are afraid of command line/terminal, then scroll on by, or......you can substitute the unwanted entry and edit it to create a link on a lower pulley menu to go to Accounts page where we see accounts already installed/available;

        }
        PushUpMenu {
            id: manageAccounts
            busy: app.syncInProgress

            MenuItem {
                //: Manage existing accounts
                //% "Manage accounts"
                text: qsTrId("settings_accounts-he-page_accounts")
                onClicked: {
                    pageStack.animatorPush("/usr/share/jolla-settings/pages/accounts/mainpage.qml")
                }
            }
        }

There is probably a better way to reference the page that is pushed, but it works as it stands - I'm open to correction/better ways of entering text.

With the edited entry now applied, start the mail app and check out the new bottom pulley menu.....no need to go to Settings/Accounts, we can go directly from the mail app. Perhaps not for everyone but handy for me with multiple email accounts, sometimes I need to disable an account or two (when disabling works correctly!) and also from this page, we can scroll to the bottom where we find "Add account".

image description image description

edit flag offensive delete publish link more
Login/Signup to Answer

Question tools

Follow
5 followers

Stats

Asked: 2019-04-25 20:56:42 +0200

Seen: 491 times

Last updated: May 04 '19