White frame in fullscreen mode

Bug #1653701 reported by sojusnik
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
qpdfview
Invalid
Undecided
Unassigned

Bug Description

There is a white frame in fullscreen mode (http://i.imgur.com/LUjEGcG.png), yet it's missing in presentation mode (http://i.imgur.com/BJI0Qbo.png).
Would be great, if this unnecessary white frame could be removed in the fullscreen mode too.

Observed on Ubuntu Gnome 16.04 with qpdfview 0.4.17beta1.

Revision history for this message
Adam Reichold (adamreichold) wrote :

Hello again,

this frame is used by the document view (or rather its underlying graphics view) to indicate focus information, i.e. mainly whether it has the focus or not. This is unnecessary in presentation mode as they can only be a view visible, but in fullscreen mode the full user interface is available and several tool bars, menus and tabs can be visible so that this focus information is still relevant and hence I cannot remove that frame.

Best regards, Adam.

Changed in qpdfview:
status: New → Invalid
Revision history for this message
sojusnik (sojusnik) wrote :

Adam, thanks for this explanation.

Is it possible to change the frame's color from white to black, in order not to stand out against the background, that is nearly always black?

Revision history for this message
Adam Reichold (adamreichold) wrote :

Hello again,

yes, it should be possible to change the frame color by adding something like

styleSheet="QGraphicsView { border: 10px solid red; }"

to the section [mainWindow] of qpdfview's configuration file. Please note that this will however affect all instances of QGraphicsView, not just the main document view.

Best regards, Adam.

Revision history for this message
sojusnik (sojusnik) wrote :

Adam, hello again!

Thank you, it works!

Do you plan to add this option to the settings?

Cheers!

Revision history for this message
Adam Reichold (adamreichold) wrote :

Hello again,

I do not think this should somehow become an explicit setting since this is exactly what style sheets are there for. Also the styleSheet setting should not be exposed via the settings dialog since anyone capable of using it should also be able to find and modify the configuration file.

Best regards, Adam.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.