On Mon, 11 Jan 2021, 10:49 pm Benjam901, <[email protected]> wrote:

> Hello!
>
> I have finally got my side project out for a closed beta and there are
> some issues for some users on both Mac & Windows.
>
> *Drag & Drop issue:*
> Firstly, you can drag & drop from the qsqltablemodel into an external
> program and that works ok on Mac but Windows you simply get a red no entry
> symbol and it fails to operate as it should. Is this an app permissions
> issue perhaps or a deeper windows bug?
>

The drag and drop system is kind of this application agnostic protocol so
that two completely unrelated apps can act as the drag source and drop
target. The drag source would indicate the mine types provided in the drag
event, and the drop target has the ability to choose what it accepts.
If I saw that red indicator on Mac or Linux (of which I am more familiar) I
would assume it is because the drag source is not specifying a mine type
that the drop target wants.

Which leads me to my next query.
>
> *Permissions issues:*
> Some users on Mac have had to chmod -x their .app files in order to run, I
> googled and some forums say I need to include a custom manifest file in
> order to elevate the app up to a level where this is not required.
>
> However I am unfamiliar with what a manifest file is and what it should
> include to solve these issues?
>

Maybe this is what you are after?
https://support.apple.com/en-nz/guide/deployment-reference-macos/ior5df10f73a/web

How are you distributing the mac app after it is built? If you are keeping
it as just the app then maybe you are causing it to lose the execution mode
if you happen to be copying it around in windows? If that is the case maybe
compressing it with zip or tar.gz on the Mac and transferring that around
would be a better idea?


> Would this manifest elevation perhaps solve the above drag & drop issue on
> windows too?
>

It doesn't seem like your drag and drop problem in windows is related to
the execution mode issue of your Mac app.


> *My pyinstaller build code looks like this for Mac:*
> https://gist.github.com/4bea2a9975455e7c7e71aedc41b8c867
>
> *And like this for Windows:*
> https://gist.github.com/ben-hearn-sb/62763a3eac6cccd2c03478d913afd43c
>
> I am certain I am missing something crucial here. If anyone could help
> with this it would be much appreciated!
>
> // Ben
>
> --
> You received this message because you are subscribed to the Google Groups
> "Python Programming for Autodesk Maya" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/python_inside_maya/f8d96aaf-ce24-46f8-a679-a00a7b1503e8n%40googlegroups.com
> <https://groups.google.com/d/msgid/python_inside_maya/f8d96aaf-ce24-46f8-a679-a00a7b1503e8n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA3JTBgZBtXoz0WNR7eCQWNmi95_rG61HSR%3DA_hiOyTcOQ%40mail.gmail.com.

Reply via email to