in long books the slider is razor-thin

Bug #1773175 reported by Andrey Grozin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
qpdfview
Triaged
Medium
Unassigned

Bug Description

Not exactly a bug, but really annoying. When I open a long book (pdf, djvu, ps), the slider in the vertical scroll bar becomes so thin that it is absolutely impossible to click it and drug by the mouse. Is it possible to set some minimum height of the slider? This would greatly improve usability.

While I'm here: I think it would be very useful to add the usual keyboard shortcut ctrl-q to File->Exit. It is inconvenient to reach for the mouse in order to exit qpdfview.

I use qpdfview all the time and find it very good; I'm also the maintainer of the qpdfview package in Gentoo. Alas, I have to push snapshots taken at some random times to Gentoo, because there are no official releases (even no tags in bzr). For example, I've committed the snapshot of the qpdfview tree taken today as a new "version" to the Gentoo repository.

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

Hello Andrey,

Thank you for taking the time to report this! I will look into the scroll bar configuration, but it basically depends on whether there is a Qt API for this or not.

Ctrl+Q should already be the default keyboard shortcut for File/Exit, please try to set it manually, just reset the keyboard shortcuts using the settings dialog or remove the corresponding line from ~/.config/qpdfview/shortcuts.conf.

Please have a look at [1] concerning new releases.

Best regards,
Adam.

[1] https://answers.launchpad.net/qpdfview/+question/669479

Changed in qpdfview:
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
Andrey Grozin (a-g-grozin) wrote :

After reading some Qt documentation and examples, I tried

qpdfview -stylesheet=scroll.qss something.pdf

where scroll.qss is

QScrollBar::handle:vertical {
  min-height: 20px;
}

Alas, this does not help :-(

About Ctrl+Q: for some (unknown to me) reason it has disappeared from my keyboard shortcuts setting; I restored it, and now it works. Thanks.

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.