← Back to team overview

hugin-devs team mailing list archive

[Bug 1862460] Re: masks can not be copied between images of one project

 

Thanks for the hints! Here is what I tried:

- quit all other applications but a simple text editor (TextWrangler)

- quit Hugin and renamed my 'hugin preferences' file so Hugin starts
with clean prefs. Are there more ways to reset Hugin?

- copy/paste in Masks tab still doesn't work for a new mask I created in
a new test project file. Instead copy/paste works reliably when I e.g.
copy a yaw value from one image to another using their respective 'image
parameters' dialogs (i.e. select the value as text, cmd+C, close that
dialog, open the dialog for a different image, select the value and
cmd+V).

- when I copy some random text (alphanumerical) in my text editor I can
paste it into a field that contains number values (Hugin is neatly
checking validity, i.e. complaining if it's text and not a numerical
value)

- I export a mask and open the *.msk file in my text editor, select all
and copy, make sure it's in the clipboard and try to insert that in
hugin‘s mask area for another image in the masks tab (both by pressing
the ‘Paste‘ button and cmd+V) - no new mask appears but the warning
sound as if I e.g. clicked outside of a warning dialog.

- BTW that warning beep doesn‘t sound when I press the 'copy' button but
when I try to paste. I'm not sure how I can otherwise check the content
of my clipboard on MacOS if it is not text or an image. AFAIK MacOS or
at least several programs on Mac can manage different clipboard contents
simultanuosly (select text for a file name in TextWranger and copy that,
then switch to Photoshop and select parts of an image, copy that, still
in Photoshop cmd+N opens the dialog for a new image and happily accepts
my text as a file name while using the correct image proportions in
Pixels for the 'image' content of my clipboard, on pressing 'OK' the
dialog closes and opens a new image window without content, cmd+V
inserts the image), but that may be specific to Photoshop.

I copied a numerical value in Hugin (the yaw of one image's position),
which can be pasted to the text editor. Back to Hugin I try to copy a
mask (press button and no error beep), switch back to the text editor
and try to paste again: this time an error beep sounds, the former
numerical value that my clipboard had is gone.

Also I realized that my preferences file automagically resetted itself to defaults when I quit Hugin. So I once again set up my preferences, closed the preferences dialog and directly copied the 'hugin preferences' file (located in /Users/carl/Library/Preferences/hugin Preferences). Now I quit Hugin and can see that the prefs file once again changed according to the last saved date/time. I checked via a diff of both my earlier copy and the new prefs file that it was reset to defaults. Now I replaced the prefs file with a copy of my earlier copy and that suddenly worked (2019.2.0 now starts with my chosen prefs).
I want to add that I set up my prefs without having an individual project open. For some programs it makes a difference.

-- 
You received this bug notification because you are a member of Hugin
Developers, which is subscribed to Hugin.
https://bugs.launchpad.net/bugs/1862460

Title:
  masks can not be copied between images of one project

Status in Hugin:
  New

Bug description:
  In 'Masks' tab I select one image in the list of images, click "Add
  new mask" button and create a new (standard "exclude region") mask.
  Now I select that mask in the 'Masks' list and type cmd+C. Now I
  switch to another image where I want to exclude the same region and
  type cmd+V. Nothing happens. The same happens with using the 'Copy'
  and 'Paste' buttons.

  Duplicating masks this way works fine up to Hugin 2019.0.0 (tested
  with my new project that I created using 2019.2.0)

  Affected Platform: OS X El Capitan Version 10.11.6
  Hugin Version: 2019.2.0.b690aa0334b5 built by Niklas Mischkulnig

To manage notifications about this bug go to:
https://bugs.launchpad.net/hugin/+bug/1862460/+subscriptions


References