• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Flaw in displaying an image over a viewFactory:catalog_photo on Windows

Explorer ,
Jan 12, 2017 Jan 12, 2017

Copy link to clipboard

Copied

On Mac everything is working fine, but on Windows, when I display an image over a catalog_photo in a dialog, it is displayed with a grey background instead of a transparent background (even if I set background_color to LrColor()

Has someone encountered this sort of problem or has someone an idea where it could come from ?

Thansk !

Capture 2017-01-12 à 23.29.54.png

TOPICS
SDK

Views

240

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jan 12, 2017 Jan 12, 2017

Copy link to clipboard

Copied

I think the underlying cause may be the same as for this issue: Re: Responding to clicks on viewFactory:picture()? Windows and Mac obviously don't behave the same with respect to overlapping controls :-<

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jan 13, 2017 Jan 13, 2017

Copy link to clipboard

Copied

LATEST

Don't think so... A simple test like this

viewFactory:view {       
viewFactory:picture {        
value = _PLUGIN:resourceId("assets/imgs/_focus_point_red-fat_center.png"),        
background_color = LrColor()      
},       
viewFactory:picture {        
width = 600,         
height = 400,          
value = _PLUGIN:resourceId("assets/IMG_8576.jpg")      
},       
place = 'overlapping',     
}

will bring this :

Capture 2017-01-13 à 20.42.47.png

this looks like the small icon's background is not transparent over the underlying image but over the dialog, which is wrong.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines