Noticed just now that Zoom, Selection and Text Selection don't work for me in Okular 0.16.0. I've installed it from the Kubuntu Backports ppa. Whenever I click the tool (or use the respective keyboard shortctut "CTRL+digit") to activate it, nothing happens - Okular remains in the "browsing" mode. Clicking an area and dragging the cursor has no effect . I also noticed that when I release the mouse and press the shortcut keys to activate the tools, the mouse cursor changes. However, it reverts to the browsing "hand" as soon as the mouse is moved or clicked. Purging and reinstalling didn't help. What did help, though, was downgrading to 0.14.3 from the Precise Updates. The tools work flawlessly in the older version. Reproducible: Always Steps to Reproduce: 1. Launch Okular 0.16.0 2. Click Zoom / Selection / Text Selection or press the respective key combination to activate the required tool. 3. Notice how you're unable to zoom / select anything. Actual Results: Nothing - that's the point. Expected Results: It should have activated the tools I clicked. Not sure what is relevant and what isn't. Please advise if more information is required.
Okular 0.16.0 works fine here, i'm not using Kubuntu 12.04 though, you may want to file a bug in the kubuntu bug tracker of find help in any kubuntu forum, there's not much we I do here without being able to reproduce the problem. I understand that you have updated all kde packages and not just okular, no?
Yes, I've updated all the packages using the Kubuntu Backports PPA. Looks like I'm alone with this issue - searching on the net for a similar bug returned no results.
Do you think you could record a screen capture of what you are exactly doing (with recordmydesktop or similar tools) to see it live?
Created attachment 77673 [details] In action Took a screen capture of the issue. I'm new to recording / converting, so please advise if you can't play the file. In the video, I'm first trying to press the buttons to get the tools activated. I then release the mouse and press Ctrl+4 to activate one of the tools. The cursor changes but reverts to "browsing mode" as soon as the mouse is moved.
That is really weird, are you using non standard window manager or widget theme or anything? Can you try changing to plain kwin and oxygen? Don't think has anything to do but you never know
Hi and thanks for looking into this. I've tried just now - the issue occurred with everything set to plain 'oxygen'. I did log out and back in after changing the theme and decorations.
Sadly there's not much more we can do here, i'll leave the bug open to see if in the future someone can reproduce the issue besides you, we would also welcome if you can try newer okular/kde/ubuntu versions and report back if this has been fixed or not. Thanks for caring about Okular and sorry we can't help more :-/
You cared enough to reply and suggest something, thanks (: I'll try the new release when it gets to the Backports PPA and report.
Upgraded to 0.16.1 - still the same issue.
Hi everyone. I would request that you look into this again. I just noticed that if I run the latest version of Okular as root, the tools are working correctly! So is this a permissions issue, then?
What about running as a different user that is not root?
Can you try to delete configuration file of Okular? (on Kubuntu ~/.kde/share/config/okularrc )
Tried removing the config file - didn't avail. Tried creating a new user (Systemsettings > User Management) and logging on to it, Okular worked perfectly well without root.
Try also with ~/.kde/share/config/okularpartrc (copy it first somewhere to make sure if that was the error we have a way to reproduce it later)
Thank you for your suggestions, guys. Removing the okularpartrc file seems to have resolved the issue (rather, I simply renamed it). I then tried to check the contents of the renamed file but could not open it without sudo - looks like the owner was set to 'root' for some reason! Not sure if this is related, but I remember Kate giving me errors, something like "katerc not writeable". I then changed the owner of the file from 'root' to myself and thus solved the issue. At least Kate cared enough to let me know (: Appreciate your support!
PEBKAC
Albert Astals Cid, as much as I appreciate your free time and effort put into helping me, please refrain from posting such comments in the future - some might find those offensive. Still, though, if those were my actions that caused the issue, would you be so kind as to explain what exactly may have resulted in *rc files being owned by "root"? I'm also curious as to why the version from the Kubuntu Backports PPA and the one from the standard repo handle said file differently. I'd very much like to avoid it from this point onward. Thanks!
If you get offended by the truth that is your problem. It's not our fault you changed the file ownership of the files. Yes, we could give some feedback when we're not able to write to our own config files, you can file a bug about that if you want.
It's interesting that you should assume I changed the ownership. This is a fairly fresh Ubuntu installation and I have not messed with the configuration files at all.
We never change permissions nor ownership of files and you're the first user ever to have this problem, so the simplest solution unless you can prove otherwise is that something something got broken in your system. On the other hand if you have a way to reproduce the error on new users (you said you couldn't) please reopen the bug.
Glad this was just a miscommunication. Proving something in this case would be troublesome as I've installed / reinstalled Precise quite a few times on different machines and had never seen this 'bug' before. I will, nevertheless, keep an eye and let you know if I find some tangible info. Thanks.