On Fri, Dec 22, 2017 at 02:21:39PM +0000, Stuart Henderson wrote:
> In gmane.os.openbsd.misc, Peter N. M. Hansteen wrote:
> > I've been using Calibre (/usr/ports/textproc/calibre) to manage my ebook
> > library for some years.
> >
> > Recently when trying to add new items using the Add button on the
> > toolbar, I get a File open dialog box of sorts, but one that never (even
> > after several minutes) never displays an actual directory listing.
> >
> > It only displays the dialog box title line, the rest of the box is a
> > uniform grey, and while I am able to close the dialog box, Calibre
> > itself freezes afterwards.
> >
> > How do I most usefully go about troubleshooting this?

With Trojita I'm running into the same problem when a file dialog
appears (e.g. when saving an attachment or adding an attachment to an
email) but only when the environment variable XDG_CURRENT_DESKTOP is set
to GNOME. The problem disappears when clearing XDG_CURRENT_DESKTOP (or
setting it to some other value, probably).

Depending on the value of XDG_CURRENT_DESKTOP, a Qt 5 application will
use a different toolkit (e.g. GTK3) to draw file dialogs. Possibly, the
problem is somewhere in the GTK3 code of Qt 5.

Peter, what is the value of XDG_CURRENT_DESKTOP on your machine? And
can you confirm that the program functions correctly when you start the
program like this?

  $ XDG_CURRENT_DESKTOP= calibre


Thanks,
Caspar Schutijser

Reply via email to