Author Topic: 'Enable Mask' and 'Show mask' menu items are reversed  (Read 12469 times)

Offline Nocturnal

  • PixInsight Jedi Council Member
  • *******
  • Posts: 2727
    • http://www.carpephoton.com
'Enable Mask' and 'Show mask' menu items are reversed
« on: 2012 February 29 17:23:55 »

Hi,

either the 'enable mask' item should be called 'disable mask' or it should be highlighted by default when a mask is chosen. Same for 'show mask'. The highlighted menu item indicates 'enabled' but it behaves as 'disabled'.

The one above it 'invert mask' seems to work properly.
Best,

    Sander
---
Edge HD 1100
QHY-8 for imaging, IMG0H mono for guiding, video cameras for occulations
ASI224, QHY5L-IIc
HyperStar3
WO-M110ED+FR-III/TRF-2008
Takahashi EM-400
PIxInsight, DeepSkyStacker, PHD, Nebulosity

Offline Alejandro Tombolini

  • PTeam Member
  • PixInsight Jedi
  • *****
  • Posts: 1267
    • Próxima Sur
Re: 'Enable Mask' and 'Show mask' menu items are reversed
« Reply #1 on: 2012 February 29 18:02:04 »
Hi Sander, in win 7 it is enabled by default. It means that when the mask is selected both enable and show mask are highlighted

Saludos, Alejandro.

Offline Nocturnal

  • PixInsight Jedi Council Member
  • *******
  • Posts: 2727
    • http://www.carpephoton.com
Re: 'Enable Mask' and 'Show mask' menu items are reversed
« Reply #2 on: 2012 February 29 18:07:23 »
Hi Alejandro,

then in my case something must have gotten flipped. I just confirmed that when 'mask enabled' is highlighted, it's actually not masking. This can't be correct.
Best,

    Sander
---
Edge HD 1100
QHY-8 for imaging, IMG0H mono for guiding, video cameras for occulations
ASI224, QHY5L-IIc
HyperStar3
WO-M110ED+FR-III/TRF-2008
Takahashi EM-400
PIxInsight, DeepSkyStacker, PHD, Nebulosity

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
Re: 'Enable Mask' and 'Show mask' menu items are reversed
« Reply #3 on: 2012 March 01 06:29:36 »
Hi Sander,

As with the previous one, I can't reproduce this problem on Linux and Mac OS X which is what I have right now. However, could you provide crops of the image and the mask in question, after making sure that masking is not working for them with Enable mask active?
Juan Conejero
PixInsight Development Team
http://pixinsight.com/

Offline Nocturnal

  • PixInsight Jedi Council Member
  • *******
  • Posts: 2727
    • http://www.carpephoton.com
Re: 'Enable Mask' and 'Show mask' menu items are reversed
« Reply #4 on: 2012 March 01 06:38:55 »

I'll try to reproduce it tonight with smaller images.
Best,

    Sander
---
Edge HD 1100
QHY-8 for imaging, IMG0H mono for guiding, video cameras for occulations
ASI224, QHY5L-IIc
HyperStar3
WO-M110ED+FR-III/TRF-2008
Takahashi EM-400
PIxInsight, DeepSkyStacker, PHD, Nebulosity

Offline Nocturnal

  • PixInsight Jedi Council Member
  • *******
  • Posts: 2727
    • http://www.carpephoton.com
Re: 'Enable Mask' and 'Show mask' menu items are reversed
« Reply #5 on: 2012 March 01 16:46:20 »
Ok, this is easy to reproduce. Simply drop a mask on an image. Open the menu. The mask is indicated not shown, not active but it's shown and active. With a little fiddling it can be made consistent but it's not at first. There may be other conditions where this is also true but let's knock this one down first.
Best,

    Sander
---
Edge HD 1100
QHY-8 for imaging, IMG0H mono for guiding, video cameras for occulations
ASI224, QHY5L-IIc
HyperStar3
WO-M110ED+FR-III/TRF-2008
Takahashi EM-400
PIxInsight, DeepSkyStacker, PHD, Nebulosity

Offline Nocturnal

  • PixInsight Jedi Council Member
  • *******
  • Posts: 2727
    • http://www.carpephoton.com
Re: 'Enable Mask' and 'Show mask' menu items are reversed
« Reply #6 on: 2012 March 01 16:49:26 »
And another one. See how the menu says the mask is shown and enabled but neither is really true?
Best,

    Sander
---
Edge HD 1100
QHY-8 for imaging, IMG0H mono for guiding, video cameras for occulations
ASI224, QHY5L-IIc
HyperStar3
WO-M110ED+FR-III/TRF-2008
Takahashi EM-400
PIxInsight, DeepSkyStacker, PHD, Nebulosity

Offline Alejandro Tombolini

  • PTeam Member
  • PixInsight Jedi
  • *****
  • Posts: 1267
    • Próxima Sur
Re: 'Enable Mask' and 'Show mask' menu items are reversed
« Reply #7 on: 2012 March 01 17:29:15 »
Hi Sander,

I don't know if it helps but I think both cases are correct.

In the first case the active image is L, so is not shown because L do not have mask, if you click on the main image it should be shown as active.

The second example is a preview, I think that task bar always displays the information related to the last image selected that in this case has mask and so is active, whether you select do not show in the preview window.

Saludos. Alejandro.

Offline Nocturnal

  • PixInsight Jedi Council Member
  • *******
  • Posts: 2727
    • http://www.carpephoton.com
Re: 'Enable Mask' and 'Show mask' menu items are reversed
« Reply #8 on: 2012 March 01 17:31:48 »
Hi Alejandro,

in the first case you are right, let me try that case again. In the second case the active window is right behind the preview. It shows that the RTP window does not have the 'mask' button enabled even though it should be, according to the menu.
Best,

    Sander
---
Edge HD 1100
QHY-8 for imaging, IMG0H mono for guiding, video cameras for occulations
ASI224, QHY5L-IIc
HyperStar3
WO-M110ED+FR-III/TRF-2008
Takahashi EM-400
PIxInsight, DeepSkyStacker, PHD, Nebulosity

Offline Alejandro Tombolini

  • PTeam Member
  • PixInsight Jedi
  • *****
  • Posts: 1267
    • Próxima Sur
Re: 'Enable Mask' and 'Show mask' menu items are reversed
« Reply #9 on: 2012 March 01 17:50:03 »
Yes, I have the same behavior but I thought that it was correct.

Look at the screen shots, in both cases, selected and deselected mask in RTP the task bar is showing what happens in the main image.

Saludos.
Alejandro.

Offline Nocturnal

  • PixInsight Jedi Council Member
  • *******
  • Posts: 2727
    • http://www.carpephoton.com
Re: 'Enable Mask' and 'Show mask' menu items are reversed
« Reply #10 on: 2012 March 02 07:58:57 »

Hi,

here is my latest (and last I hope) screenshot. This is not correct. Juan: please comment and let me know if this shows it clearly enough or if I'm just misunderstanding what the menu is supposed to show.

I added the mask by dragging/dropping it onto the image. The text in the bottom right does not show anything about the new mask. When I toggle masking using the menu the text at the bottom right shows Masked (disabled) when the menu shows 'enabled'.

This is on a freshly started PI.
Best,

    Sander
---
Edge HD 1100
QHY-8 for imaging, IMG0H mono for guiding, video cameras for occulations
ASI224, QHY5L-IIc
HyperStar3
WO-M110ED+FR-III/TRF-2008
Takahashi EM-400
PIxInsight, DeepSkyStacker, PHD, Nebulosity

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
Re: 'Enable Mask' and 'Show mask' menu items are reversed
« Reply #11 on: 2012 March 02 08:33:27 »
Hi Sander,

I've just made a quick test with a laptop running Windows 7 x64. See the attached screenshot. It works correctly.

I have no idea why is this happening to you. Is there something peculiar in your screen or desktop configuration?  ???
Juan Conejero
PixInsight Development Team
http://pixinsight.com/

Offline Nocturnal

  • PixInsight Jedi Council Member
  • *******
  • Posts: 2727
    • http://www.carpephoton.com
Re: 'Enable Mask' and 'Show mask' menu items are reversed
« Reply #12 on: 2012 March 02 08:45:57 »
Hi Juan,

the only thing that I can think of is that I did an module reset a few weeks ago when I had trouble getting my project to load.  I see this behavior on both systems I use. It's a stretch but could it be related to me turning of various GUI effects? Is there a config file I can attach?
Best,

    Sander
---
Edge HD 1100
QHY-8 for imaging, IMG0H mono for guiding, video cameras for occulations
ASI224, QHY5L-IIc
HyperStar3
WO-M110ED+FR-III/TRF-2008
Takahashi EM-400
PIxInsight, DeepSkyStacker, PHD, Nebulosity

Offline Nocturnal

  • PixInsight Jedi Council Member
  • *******
  • Posts: 2727
    • http://www.carpephoton.com
Re: 'Enable Mask' and 'Show mask' menu items are reversed
« Reply #13 on: 2012 March 20 10:51:05 »
Yeah, the 'enable mask' check item in the menu is definitely reversed. Either the name needs to change to 'disable mask' or the check box behavior needs to be flipped.
Best,

    Sander
---
Edge HD 1100
QHY-8 for imaging, IMG0H mono for guiding, video cameras for occulations
ASI224, QHY5L-IIc
HyperStar3
WO-M110ED+FR-III/TRF-2008
Takahashi EM-400
PIxInsight, DeepSkyStacker, PHD, Nebulosity

Offline RBA

  • PixInsight Guru
  • ****
  • Posts: 511
    • DeepSkyColors
Re: 'Enable Mask' and 'Show mask' menu items are reversed
« Reply #14 on: 2012 March 20 16:27:39 »
I've seen this "reversed behavior" before in the toolbar (never checked if it was also happening in the menu options).

It doesn't happen in this PC I'm using here during my stay in Spain, only in the one I have in the US, and only sometimes. Both are Win7x64 machines...

I think I mentioned it here back a while ago as well...