Lightroom SDK: Floating dialogs always in back, never in front, in Screen Mode > Full Screen

  • 2
  • Problem
  • Updated 4 weeks ago
  • (Edited)
In LR 8.1 / Windows 10 in Window > Screen Mode > Full Screen, floating dialogs always appear hidden in back of the main LR window, and calling the toFront() function has no effect.  This prevents my Any Crop and Any Filter plugins from being used in Full Screen mode.

On my Windows configuration, this only happens in Screen Mode > Full Screen, not the other modes, but on at least one other Windows machine, this also happens in Screen Mode > Full Screen With Menubar.

The bug does not occur on Mac OS 10.13.6.

This simple plugin demonstrates the bug:
https://www.dropbox.com/s/6d1l3llo5dwzzuw/floatingfullscreenbug.lrdevplugin.zip?dl=0  

Invoke Library > Plug-in Extras > Floating Dialog in the various Screen Modes.

The command executes this simple code:
LrDialogs.presentFloatingDialog (_PLUGIN, {
    title = "Floating Fullscreen Bug",
    contents = f:push_button {title = "Push Me"},
    onShow = showErrors (function (t) 
        LrTasks.startAsyncTask (showErrors (function ()
            LrTasks.sleep (5)
            t.toFront () 
            end))
        end)})
Photo of John R. Ellis

John R. Ellis, Champion

  • 4061 Posts
  • 1070 Reply Likes

Posted 4 weeks ago

  • 2
Photo of Sunil Bhaskaran

Sunil Bhaskaran, Official Rep

  • 371 Posts
  • 130 Reply Likes
Thanks for letting us know, John.
I have downloaded your plugin. We will investigate.

Thanks,
Sunil
(Edited)