Bug 31711

Summary: qpdfview toolbar buttons and keybindings to change the size for viewing documents do not work
Product: Mageia Reporter: aguador <waterbearer54>
Component: RPM PackagesAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: Normal CC: davidwhodgins, lewyssmith
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: qpdfview-0.5.0-2.mga9.src.rpm CVE:
Status comment:

Description aguador 2023-03-21 22:17:48 CET
What qpdfview terms the "View" toolbar has a window to select document size next to which are + and - buttons to increase or decrease the viewing size of the document. These buttons are no longer working. This has been tested on several pdf documents.

I do not know when this started, but they were functional in the past, as they are in version 0.4.18 in Mageia 8.

To reproduce:
1. Open a pdf document with qpdfview
2. If not present, open the View toolbar (View dropdown menu > Toolbars)
3. Try to increase or decrease the size of the document by clicking on the buttons.

Expected behaviour: + will increase the size (magnification) of the document, - will decrease it.

Actual behaviour: the size is not changed. The size can, however, be changed from the dropdown just to the left of the +/- buttons.

I did check upstream and found no bug filed there.
Comment 1 Lewis Smith 2023-03-22 20:47:56 CET
qpdfview-0.5.0-2.mga9, desktop = LxQt

The application works here as expected:
the toolbar underneath the menu bar has:
- a % size widget; to the right of which:
- a '+' and a '-'
On my system (which has a few updates pending) these all work fine. I will apply the updates (which do not include qpdfview) and try after...

This system now right up-to-date, qpdfview '+' and '-' still work OK, with a different PDF file.

Can you say what desktop you are using? And what language? We have had odd bugs in the past for just Spanish.

CC: (none) => lewyssmith
Status: NEW => UNCONFIRMED
Ever confirmed: 1 => 0

Comment 2 aguador 2023-03-22 22:12:44 CET
DE=Enlightenment, Cauldron fully up to date; currently run with QT_QPA_PLATFORMTHEME=qt6ct (Fusion, dark). However the problem also showed before setting the environment to qt6ct.

I have now launched with and without LC_ALL=C in both Enlightenment and IceWM Session, and the buttons do not work in either no matter the language. The keyboard bindings (Ctrl-Up/Ctrl-Down) do not work either.

When qpdfview is allowed to run for more than just a quick test the following appear in the terminal:

qt.qpa.xcb: Unhandled client message:  "_E_COMP_FLUSH"
qt.qpa.xcb: Unhandled client message:  "_E_COMP_DUMP"

This seems unimportant as they also appear with version 0.4.18 in Mageia 8 without functionality being affected.

Today's tests have been done with just one document which has also been tested in masterpdfeditor4, where the buttons worked, and Atril, where the Ctrl-+/Ctrl-- bindings worked.
aguador 2023-03-24 12:02:35 CET

Summary: Toolbar buttons to change the size for viewing a documents do not work => Toolbar buttons and keybindings to change the size for viewing documents do not work

Dave Hodgins 2023-03-24 18:36:53 CET

Summary: Toolbar buttons and keybindings to change the size for viewing documents do not work => qpdfview toolbar buttons and keybindings to change the size for viewing documents do not work
CC: (none) => davidwhodgins

Comment 3 katnatek 2023-03-25 04:01:53 CET
Works for me in Cauldron+x86_64+Plasma
Comment 4 Lewis Smith 2023-03-25 12:14:09 CET
@aguador
Can you check what *icon* theme you are using? Here, Adwaita. Breeze is another common one, and sometimes there are differences between those.
Are you able to try one of the more used desktops? Enlightenment and IceWM are less common.
BTW I also checked the keyboard change-size shortcuts (Ctrl/PgUp or PgDn if I remember correctly), they worked too.

@anyone else
This is really easy to try, as did katnatek...
Comment 5 aguador 2023-03-25 13:32:41 CET
I suspect this is a problem related to running this in a Gtk environment.

a) Icon theme should not affect the key bindings, but have now tested with Adwaita and EnlightenmentX, as well as my default Faenza Ambiance. No go.

b) Downloading Cauldron XFCE live to test, but will take a couple of hours on my connection (even though there are a dozen or so seeds). I don't want to junk up my machine with dependencies of other DEs (one reason I stopped using CopyQ).

c) Looked at some dependencies, but as far as I can tell, all is good. Got me to clean out some old, unrelated libs along the way.

d) Have another machine that also has a Deb-based distro on it with XFCE, but the current version of qpdfview is in Deb13 and requires a bunch of new dependencies. Sigh!

e) Attempted to report upstream, but launchpad login give me a problem. Double sigh!

Will report what I find.
Comment 6 sturmvogel 2023-03-25 15:24:10 CET
Did a test install in a VB
Mageia-Cauldron-netinstall-nonfree-x86_64.iso
64bit Enlightenment

Other than i find Enlightenment a PITA to use....

qpdfview-0.5.0-2.mga9 works flawlessly.
Keybindings Ctrl+Up/Down zoom a pdf flawlessly
+/- buttons zoom a pdf flawlessly
Menu->View zoom a pdf flawlessly
the zoombox (%) works also flawlessly



Did you try to create a new user as you may have a broken user profile?
Comment 7 Lewis Smith 2023-03-25 16:26:52 CET
Just trying under LXDE, everything works fine. Shortcuts are as sturmvogel says, not me C4.
Comment 8 aguador 2023-03-25 17:06:16 CET
OK, color me red and accept my apologies for the noise.

Thanks to sturmvogel I tried a new user where everything worked. Hmmm. The size of the interface type is smaller, but it worked.

Returning to MY home, nothing worked...until I accepted "default values for the current tab", and the buttons began working again -- even with other documents and tabs. I lost functionality again while playing with the settings, but will explore more with the settings to see what causes the bindings and buttons not to work -- that to see if I can add something to this report, before I close it.

Sorry for causing so much noise, but I think there is something going on that may be an upstream issue.

OT: sturmvogel - thanks for suffering through a session of E and pushing me to try different things. Other than Gnome I can work with any DE and the "simpler" WMs (IceWM, OpenBox, JWM, Fluxbox), but Enlightenment is the one that works for me: configurable, lightweight/efficient and stays out of my way.
Comment 9 Lewis Smith 2023-03-25 21:06:28 CET
When you are satisfied, please close this report if you can.
Comment 10 aguador 2023-03-26 10:36:25 CEST
OK, I give up. Apparently the .conf file was corrupted and was rewritten when changed the option on a particular tab (how ever strange that may seem).

The only thing I cannot figure out is why the fonts for the menus and toolbars are smaller in the "new" user. It may be time for a fresh Cauldron install (and switch away from user 500).

Status: UNCONFIRMED => RESOLVED
Resolution: (none) => INVALID

Comment 11 sturmvogel 2023-03-26 11:07:30 CEST
(In reply to aguador from comment #10)
> The only thing I cannot figure out is why the fonts for the menus and
> toolbars are smaller in the "new" user. 

When you update an application over several years the config file grows and grows. The policy forbids to delete or change the config file in the user home. Thats why you accumulate old settings in this file which are not available anymore in the new version of the application. That is why you sometimes get a nice surprise if you do a fresh installation of an application with a new profile after some years...
And that is also the reason why it is possible that after some years a config file may brake...it is to incompatible to the new version...