Opened 11 years ago

Closed 9 years ago

#163 closed defect (fixed)

Opening a PDF in background makes Lucide display only blank pages

Reported by: herwigb Owned by: Eugene Romanenko
Priority: major Milestone: 1.3.4
Component: Lucide Core Version: 1.2
Keywords: Cc:

Description

Scenario:

  1. Open an fullscreen session
  2. Open a PDF using open.cmd - the PDF is opened by Lucide on the desktop
  3. Switch to the desktop - the PDF seems to be only blank pages, however while the PDF is not displayed, it still can be printed normally.

Attachments (1)

OPEN240.zip (56.4 KB) - added by herwigb 9 years ago.
uses enclosed open.exe or open.cmd to open pdfs from the commandline

Download all attachments as: .zip

Change History (4)

comment:1 Changed 9 years ago by Silvan Scherrer

Milestone: 2.0 and further1.3.4

Changed 9 years ago by herwigb

Attachment: OPEN240.zip added

uses enclosed open.exe or open.cmd to open pdfs from the commandline

comment:2 Changed 9 years ago by dmik

Fixed in r494. Turned out to be a tricky bug: the WM_SIZE message was ignored (due to WinIsWindowShowing?() returning FALSE) when the Lucide was started in the background from a fullscreen session through OPEN, resulting to a zero page width/height and all subsequent synthesized WM_SIZE messages (sent when when e.g. switching pages) were ineffective since they would already report this zero width/height. Only resizing the Lucide window to get the real WM_SIZE with the real new window size could help.

comment:3 Changed 9 years ago by dmik

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.