phase1geo / Annotator

Image annotation for Elementary OS
GNU General Public License v3.0
217 stars 22 forks source link

Annoyance: dialog window is hidden when taking a screenshot #107

Open BorisNA opened 1 week ago

BorisNA commented 1 week ago

The latest 2.0 version from the appcenter / flatpak. Elementary OS 7.1 2 monitors

Steps

  1. Open the application
  2. Press the "Take screenshot" button (second from the left, with the plus sign)

Factual:

Dialog is placed randomly. Sometimes it is hidden completely behind the other windows (for example if the app was Edge), or placed very far to the right touching the other window border (for example with Onlyoffice)

Expected:

Dialog is placed on the top somewhere near the "take screenshot" button. Or, even better, return the dropdown menu and make a choice before the Annotator app is minimized

It is not easy always easy to find it, if the screen is big, and it is placed behind some window or in the opposite corner.

phase1geo commented 5 days ago

I have added back the original screenshot functionality (for the most part) for users of elementary 7.1 and earlier. This work has been committed to the master branch and will be available in the 2.0.1 release.

BorisNA commented 3 days ago

Thanks a lot! I hoped for the Elementary 8 in autumn, but it looks like they are still polishing it. I wonder what they have customized in Elementary 7.1 that caused this...

phase1geo commented 2 days ago

Unfortunately, all of my attempts to fix this and make it work as a Flatpak have been unsuccessful. I have talked with the elementary OS development team about this and have created an issue for it in elementary/portals at their request. If they can patch the screenshot portal in 7.1, things should be okay.

In the meantime, you could work around this by downloading and installing Annotator from source (if you are comfortable doing that) which would work. Or you will need to just use the screenshot tool within elementary to take the screenshot, save it to the clipboard (or file) and load it from within Annotator from that source. I apologize for the inconvenience that this causes. This is the one downside to using portals as I cannot control/fix issues with the portal on a given system if they arise.

BorisNA commented 12 minutes ago

Many thanks for trying! I think that using copy/paste will be easier than installing all the toolchains to build and so on. I haven't been doing much development lately.

BTW, when exporting I've got Quality "0" by default (and moreover it was hidden). It took me about a minute to figure out why I was getting saved images like this:

paste-and-export jpeg

Once set to the correct value (and format to PNG) it stays, so it's not a big problem.