-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FEATURE] Layer tree indicators for memory layers #7516
Conversation
Now with a nice icon thanks to @nirvn: |
Thanks. Related to https://issues.qgis.org/issues/19038 |
Shows a memory layer icon in the layer tree for all memory layers, with a tooltip warning that the contents of the layer will be lost when closing the project. Should help avoid data loss by users who don't realise that certain layers are temporary only.
a8ceac2
to
abd9e0a
Compare
Now activates the "make permanent" action when clicking on the indicator! |
Heck yeah!
…On Mon, Aug 6, 2018 at 11:42 AM Nyall Dawson ***@***.***> wrote:
Now activates the "make permanent" action when clicking on the indicator!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#7516 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAXS3CcPUhIUxSyHxwrvyIImTVVz-_gxks5uN57-gaJpZM4Vrm7O>
.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just tried this earlier today, fantastic UX improvement.
1+ to merge.
Thanks for the review @nirvn! |
Hi guys, These nifty new features for memory layers are nice, but they seem inconsistent when a memory layer is alongside a processing-created temporary file - those still look like any other (permanent) layer, even though they aren't really any more permanent than a memory layer.
But doesn't the inconsistency actually encourage data loss with temporary files from processing?! |
Sorry, I thought I'd better also point out that people may unintentionally create temporary output files when using processing tools. e.g. some of those dialogs have a lot of complex options - it is easy enough to fill most of them in, then go away to check on an option or something, then come back and just run it without realising that you haven't specified an output file. |
Note this comment there, which you can say supports what I'm saying:
|
Shows a memory layer icon in the layer tree for all memory layers, with a tooltip warning that the contents of the layer will be lost when closing the project.
Should help avoid data loss by users who don't realise that certain layers are temporary only.
(No screenshots until @nirvn gives me a nice icon ;) )