make export menu more easily accessible
Is your feature request related to a problem? Please describe.
Currently the export menu is hidden in a submenu, making it annoying to access for users having to export documents frequently
Describe the solution you'd like
Move/Copy the export button next to the save button, that opens the export menu
Additional context
This is useful for students that often have to export documents to hand them in to the teachers.
I can do the button part when you approve the change and we found an fitting export icon
I implemented it using the document-export icon.
I like the idea of making the export more accessible. I am not sure about adding an additional button to the headerbar though, I was quite happy that I was able to to remove some buttons from there in the last release.
What about this:
Keep the location of the export action in the app-menu, but instead of having to choose "export document, export pages, export selection" in a submenu unify the export dialog into a single dialog with subpages (where the last used is remembered). This way the export is also only 2 clicks away like in your proposed solution in the PR. When nothing is selected, the "export selection" subpage would be made inaccessible.
One thing I dont like about the appmenu is that it moves when the file browser is open. Cant we just have 2 appmenus when the file browser is open?
Ignoring that I think complicated dialogs are a worse ux than extra buttons. Most people just click ok without looking at the options
So my alternative suggestion would be removing the export Submenu and just showing the 3 export options directly.
I mean the user has to make the choice between the different exports at some point, and if this choice were implemented sub-pages in a single dialog window we could implement it so that the last used choice/page is remembered.
I don't think that another menu should be added, it would go against the Gnome HIG and would make the different options less discoverable.
So my alternative suggestion would be removing the export Submenu and just showing the 3 export options directly.
I didn't mean my solution in the pr with that comment
I mean that we keep the buttons in the appmenu, but instead of having an export submenu, we make a seperator and move the 3 export items where the submenu was previously.
It should be as simple as removing the <submenu> from the .ui file and adding a seperator afterwards
we could do that, but the app menu is already quite large, and if we anticipate for more export options in the future, it would grow even more. The export dialogs need a refactor anyway as soon as libadawaita 1.4 is out, so we could refactor it into a single one at some point.
For example, it could look similar to this in Apostrophe:
What about a shortcut like Shift+Ctrl+X? I think it would do the job; no extra buttons and is accessible.
As I mentioned on #1297, it takes 7 clicks to export as PDF: Primary menu ➔ Export... ➔ Export document ➔ Export File ➔ Replace ➔ Replace (confirm) ➔ Export.
Since .rnote is not a file you can open anywhere, it's essential to export to PDF.
I am not sure about adding an additional button to the headerbar though, I was quite happy that I was able to to remove some buttons from there in the last release
I don't see problems with this, as long as it is not visually polluted; otherwise, there will be useful space that won't be used.
I just would like to export to PDF with only one/two clicks, maybe a GtkMenuButton:
Export Directly as PDF...
├── Without Pattern
└── With Pattern
Or allowing the previous solution as a toggle button on the settings, so the document is automatically exported before closing it.