Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#6227 closed defect (fixed)

Drop models on OMEdit does not work after a fresh installation

Reported by: massimo ceraolo Owned by: Adeel Asghar
Priority: normal Milestone: 1.18.0
Component: OMEdit Version: v1.17.0-dev
Keywords: Cc:

Description

To load models onto OMEdit I often use drag&drop.

I've been noting for years that this feature does not work whenever I install a new version of OMEdit for a few days. Then, I don't know exactly when this occurs, it starts working again.

The issue can be repeated at any time. To see it one has to install a new version, e.g. a new nightly build, then try to drop a file onto OMEdit: a stop sign appears indicating that no dropping action cannot occur.
This issue has been seen in Windows versions

Change History (5)

comment:1 by massimo ceraolo, 4 years ago

Summary: Drop models on OMEdit does not work wafter a fresh installationDrop models on OMEdit does not work after a fresh installation

comment:2 by Francesco Casella, 4 years ago

Gosh, this is weird.

On the same line, I just bought a small drone as a birthday present for my kid. It is controlled by an app on the smartphone, which communicates to the game controller with joysticks via bluetooth. Of course the bluetooth fails to connect. Eventually I found that I needed to enable geolocation on the cellphone to get bluetooth to connect. Mind you, not to control the drone (that would have made sense, as it navigates around), just to communicate with the joystick. I may as well have needed to give it my mother's birthday, or my bank account number. Software is just crazy these days.

comment:3 by Francesco Casella, 4 years ago

Milestone: 1.17.01.18.0

Retargeted to 1.18.0 because of 1.17.0 timed release.

comment:4 by Adeel Asghar, 4 years ago

Resolution: fixed
Status: newclosed

This issue is fixed now via PR#18.

This only happens when we start OMEdit directly from the installer after the installation is finished by checking "Start OpenModelica Connection Editor (OMEdit)". The problem is that installer has elevated UAC rights and any program that it starts will get the same rights. This was causing the problem for drag n drop. Now I have fixed so it gets normal user rights.

in reply to:  4 comment:5 by massimo ceraolo, 4 years ago

This only happens when we start OMEdit directly from the installer after the installation is finished by checking "Start OpenModelica Connection Editor (OMEdit)". The problem is that installer has elevated UAC rights and any program that it starts will get the same rights. This was causing the problem for drag n drop. Now I have fixed so it gets normal user rights.

Nice. I could have thought that it occurred when I clicked on that button; indeed I usually do this.
Well shot!

Note: See TracTickets for help on using tickets.