[Gimp-developer] gimp_layer_set_visible() doesn't update Layers dialog

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I tried using gimp_layer_set_visible() tonight for the first time.  It
sort of works, but not as expected.  After calling this I call
gimp_displays_flush() (which ought to only update the Canvas window). 
However, the Canvas is not updated and neither is the Layers dialog.  

If I switch to another open image, then back to the original, the Layers
dialog shows the layers are visible, but the canvas window is still not
updated.

Did I miss something with this function?  After setting the visibility,
is there something else that needs to be done to force the Canvas update
and to update the Layers dialog?

I noticed that gimp_layer_set_linked() has a similar issue with the
Layers dialog not being updated.

BTW, I checked bugzilla and didn't see anything about this.  It may just
be I'm not using these correctly, so I don't want to call it a bug yet. 
I also tried this with 1.2.3.  I haven't grabbed 1.2.4 yet but hope to
do so later this week.
-- 
Michael J. Hammel                               The Graphics Muse 
mjhammel@xxxxxxxxxxxxxxxxx                      http://www.graphics-muse.com
------------------------------------------------------------------------------
When trouble arises and things look bad, there is always one individual 
who perceives a solution and is willing to take command. Very often, that 
individual is crazy. -- Unknown.

[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux