Bug 150293 - I want to highlight select all (or parts) of "Properties" dialog info (including fonts) and paste it into editor
Summary: I want to highlight select all (or parts) of "Properties" dialog info (includ...
Status: RESOLVED FIXED
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR wishlist
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-28 13:53 UTC by Kurt Pfeifle
Modified: 2007-10-11 11:22 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
additional info related to warning dialog displayed in document pane. Warning dialog is "copy/paste"-able, but additional info is not.... (58.72 KB, image/png)
2007-09-28 14:15 UTC, Kurt Pfeifle
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kurt Pfeifle 2007-09-28 13:53:07 UTC
Version:           SVN (using KDE Devel)
Installed from:    Compiled sources
Compiler:          doesn't matter doesn't matter

When I work with PDFs (very often for troubleshooting print-related problems), I frequently need to note down as many as properties known as possible about them. One of the tests and checks is to view them for visual inspection.

Another test is to run "pdfinfo" and "pdffonts" in a konsole, and paste the results into the evaluation report I need to create.

It would be nice if I could highlight/select all of the text shown in the "Properties" dialog of Okular and paste that (same for the fonts tab).

It would also be nice if I could point a user who needs help to that option. (One of the first questions I ask users very often is about the embedded fonts. Normally they don't have pdfinfo installed, or don't know how to use it, so they send me the complete PDF instead of a short info in their mail.)

((((Uhmmm... and why do the two tabs look so very different when they display their info? Is their any other reason than "it looks somehow nicer if the two are different"?)))

I've not yet used okular for other file types than PDFs, so I'm not sure for which supported file types there is a similar Properties dialog. For consistency reasons, copy and pasting should be possible there too.

((In general, I also hate it if I can't copy and paste from an error or warning dialog too. Frequently, when reporting a bug and needing to quote what the message said, it is required to manually type-copy the message from the dialog...))
Comment 1 Kurt Pfeifle 2007-09-28 13:58:04 UTC

(((I can't open .chm files currently -- it yields a warning dialog:

   Could not start process Unable to create io-slave:
   klauncher said: Unknown protocol 'ms-its'.

...and I was able to copy-paste that one. Yay! and three cheers to the developers!! In addition to the warning dialog, I got an additional line in the document window pane displayed, *which I can't copy/paste*. Which sucks. :-)  See attached screenshot...

Also, if this above klauncher bug is reproducable [may be a temporary thing of the openSUSE build service packages], try to resized the window a few times while quoted dialog is open: you'll see how the window starts to flicker like hell, in an endless loop, and if you are unlucky, you can not even close the dialog any more without really kill-9-ing it.

When I start okular from konsole, and reproduce above "endless flickering loop" bug, there are these messages repeated in konsole over and over, for each flicker event:

---
okular(22094)/khtml (part) KHTMLPart::closeUrl: Aborted before starting to render, reverting location bar to  "ms-its:///home/kurt/Server.chm::/1.0_Der_InfoStream_Server.htm"
okular(22094)/khtml KHTMLView::closeChildDialogs: closeChildDialogs: closing dialog  KDialog(0x838ab38, name = "error")
okular(22094)/khtml (part) KHTMLPart::showError: KHTMLPart::showError d->m_bParsing= false  d->m_bComplete= true  d->m_bCleared= false
okular(22094)/okular (app) Okular::Document::requestPixmaps: request id=3 426x318@0
okular(22094)/okular (app) Okular::DocumentPrivate::sendGeneratorRequest: sending request id=3 426x318@0 async == true
okular(22094)/khtml (part) KHTMLPart::openUrl: KHTMLPart( KHTMLPart(0x8107378) )::openURL  "ms-its:/home/kurt/Server.chm::/1.0_Der_InfoStream_Server.htm"
okular(22094)/khtml KHTMLView::closeChildDialogs: closeChildDialogs: closing dialog  KDialog(0x83c3238, name = "error")
okular(22094)/kio (Slave) KIO::Slave::createSlave: createSlave ' "ms-its" ' for  "ms-its:///home/kurt/Server.chm::/1.0_Der_InfoStream_Server.htm"
okular(22094)/kio (KIOConnection) KIO::ConnectionServer::listenForRemote: Listening on  "local:/home/kurt/.kde4/socket-lnx5000/okularM22094.slave-socket"
okular(22094): : couldn't create slave :  "Unable to create io-slave:
klauncher said: Unknown protocol 'ms-its'.
"
--
)))
Comment 2 Kurt Pfeifle 2007-09-28 14:15:17 UTC
Created attachment 21706 [details]
additional info related to warning dialog displayed in document pane. Warning dialog is "copy/paste"-able, but additional info is not....

There is additional info related to warning dialog displayed in the document
pane. The warning dialog itself is "copy/paste"-able, but the additional info
(or everything in the document pane) is not....
Comment 3 Pino Toscano 2007-10-10 20:41:14 UTC
SVN commit 723800 by pino:

Make the text of the values in the Properties dialog selectable using mouse.

BUG: 150293


 M  +2 -0      propertiesdialog.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=723800
Comment 4 Kurt Pfeifle 2007-10-11 11:22:57 UTC
Thanks  :-)