[Qgis-user] Browser Panel Import

Richard Duivenvoorde rdmailings at duif.net
Tue Sep 5 00:14:15 PDT 2017


While it's nice to impress new users to use this 'drag a file into a
database' feature :-) .... I think it's also a 'shoot and run' solution:
either OK or nothing...

Would it be an idea to (sorry dialog haters) have a summary/confirmation
dialog in between this action? Telling the user that 'this file/table
with such columns be copied/moved to that file/table with these columns'?

In this case, it would also have made it possible to stop this overwrite
action?

Regards,

Richard Duivenvoorde

On 05-09-17 09:04, Alessandro Pasotti wrote:
> It looks like a bug.
> 
> Did you file a ticket?
> 
> The expected behavior is that the layer you are dragging is imported
> (without overwriting!) into the destination DB (the drop target).
> 
> In case of overwriting, a confirm dialog should appear.
> 
> I've recently worked on that for geopackage and I've also added some
> logic to prevent dropping onto itself (that could lead to data loss).
> 
> Cheers
> 
> 
> 
> On Tue, Sep 5, 2017 at 8:39 AM, Martin Bain
> <Martin.Bain at lismore.nsw.gov.au <mailto:Martin.Bain at lismore.nsw.gov.au>>
> wrote:
> 
>     Hi List,____
> 
>     I just discovered a brutal feature of the Browser Panel.____
> 
>     __ __
> 
>     When browsing SQL Server if you happen to click and drag on a table
>     then when you release the mouse button a dialog box will pop up
>     saying “Import Competed”.____
> 
>     __ __
> 
>     The table under the cursor when mouse button is released gets
>     overwritten with an empty table, without any sort of prompt!____
> 
>     __ __
> 
>     Within SQL Server I have now revoked DDL permissions from the user
>     that did this (and myself).____
> 
>     __ __
> 
>     But was wondering, Is there a way to prevent or modify this
>     behaviour in QGIS?____
> 
>     __ __
> 
>     Thanks,____
> 
>     Martin.____
> 
> 
>     This email is intended for the named recipient only. The information
>     it contains may be confidential. If you are not the intended
>     recipient you must not reproduce or distribute any part of this
>     email, disclose its contents to any other party or take any action
>     in reliance on it. If you have received this email in error, please
>     contact the sender immediately and delete the message.
> 
>     _______________________________________________
>     Qgis-user mailing list
>     Qgis-user at lists.osgeo.org <mailto:Qgis-user at lists.osgeo.org>
>     List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
>     <https://lists.osgeo.org/mailman/listinfo/qgis-user>
>     Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>     <https://lists.osgeo.org/mailman/listinfo/qgis-user>
> 
> 
> 
> 
> -- 
> Alessandro Pasotti
> w3:   www.itopen.it <http://www.itopen.it>
> 
> 
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
> 




More information about the Qgis-user mailing list