Menu

#1410 mailto: URLs do not open correctly in intenal PDF viewer

None
closed
nobody
None
1
2016-03-14
2015-08-21
Anonymous
No

When defining an author using

\author{Name \href{mailto:name@domain.example}{\texttt{name@domain.example}}

the integrated viewer opens the URL in a way that Thunderbird sends to

///name@domain.example

instead of

name@domain.example

The link works fine in other PDF viewers.

Platform: Ubuntu 15.04, TeXStudio 2.9.4
LaTeX installation:

which pdflatex: /usr/local/bin/pdflatex

PDFLATEX: pdflatex -version
pdfTeX 3.14159265-2.6-1.40.16 (TeX Live 2015)
kpathsea version 6.2.1
Copyright 2015 Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX).
There is NO warranty. Redistribution of this software is
covered by the terms of both the pdfTeX copyright and
the Lesser GNU General Public License.
For more information about these matters, see the file
named COPYING and the pdfTeX source.
Primary author of pdfTeX: Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX).
Compiled with libpng 1.6.17; using libpng 1.6.17
Compiled with zlib 1.2.8; using zlib 1.2.8
Compiled with xpdf version 3.04

Environment variables:
GDM_LANG=de_DE
LANGUAGE=de_DE
QT_QPA_PLATFORMTHEME=appmenu-qt5
LOGNAME=name
CLUTTER_IM_MODULE=xim
GTK_IM_MODULE=ibus
GTK_MODULES=overlay-scrollbar:unity-gtk-module
XDG_VTNR=7
JAVA_HOME=/usr/lib/jvm/java-8-oracle
SHLVL=0
DERBY_HOME=/usr/lib/jvm/java-8-oracle/db
SESSIONTYPE=gnome-session
J2SDKDIR=/usr/lib/jvm/java-8-oracle
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-3tvoHV6Kxj
PATH=/home/name/.local/bin:/home/name/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin:/home/name/opt/apache-maven/bin:/home/name/opt/local-pg:/home/name/opt/android-sdk-linux/tools:/home/name/opt/android-sdk-linux/platform-tools:/home/name/opt/idea-IU-139.1117.1/bin:/home/name/opt/pycharm-4.0.4/bin
USER=name
GNOME_KEYRING_PID=
LANG=de_DE.UTF-8
DEFAULTS_PATH=/usr/share/gconf/ubuntu.default.path
IM_CONFIG_PHASE=1
QT_IM_MODULE=ibus
M2_HOME=/home/name/opt/apache-maven
QT4_IM_MODULE=xim
XDG_SEAT=seat0
SESSION=ubuntu
XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu:/usr/share/upstart/xdg:/etc/xdg
XDG_DATA_DIRS=/usr/share/ubuntu:/usr/share/gnome:/usr/local/share/:/usr/share/
GNOME_DESKTOP_SESSION_ID=this-is-deprecated
JAVA_TOOL_OPTIONS=-javaagent:/usr/share/java/jayatanaag.jar
DISPLAY=:0.0
INSTANCE=
PWD=/home/name
XDG_SESSION_ID=c2
GDMSESSION=ubuntu
GIO_LAUNCHED_DESKTOP_FILE_PID=5763
XAUTHORITY=/home/name/.Xauthority
UPSTART_SESSION=unix:abstract=/com/ubuntu/upstart-session/1000/2039
XDG_RUNTIME_DIR=/run/user/1000
J2REDIR=/usr/lib/jvm/java-8-oracle/jre
XMODIFIERS=@im=ibus
COMPIZ_CONFIG_PROFILE=ubuntu
JOB=dbus
XDG_CURRENT_DESKTOP=Unity
XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/name
XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
XDG_MENU_PREFIX=gnome-
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0
SESSION_MANAGER=local/hostname:@/tmp/.ICE-unix/2221,unix/hostname:/tmp/.ICE-unix/2221
SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
GNOME_KEYRING_CONTROL=
XDG_SESSION_TYPE=x11
GIO_LAUNCHED_DESKTOP_FILE=/usr/share/applications/texstudio.desktop
DESKTOP_SESSION=ubuntu
XDG_SESSION_DESKTOP=ubuntu
MANDATORY_PATH=/usr/share/gconf/ubuntu.mandatory.path
HOME=/home/name
GPG_AGENT_INFO=/run/user/1000/keyring/gpg:0:1
SHELL=/bin/bash

Setting file:
/home/name/.config/texstudio/texstudio.ini

Command configuration in TeXstudio:
BibTeX (bibtex): bibtex %.aux
Biber (biber): biber %
Metapost (metapost): mpost -interaction=nonstopmode ?me)
Build & View (quick): txs:///compile | txs:///view
External PDF Viewer (view-pdf-external): evince %.pdf > /dev/null
DVI Viewer (view-dvi): evince %.dvi > /dev/null
Default Glossary Tool (glossary): txs:///makeglossaries
Latexmk (latexmk): latexmk -pdf -silent -pdflatex="pdflatex -synctex=1 %%O %%S" %
SVN (svn): svn
DVI->PDF Chain (dvi-pdf-chain): txs:///latex | txs:///dvipdf | txs:///view-pdf
DviPng (dvipng): dvipng -T tight -D 120 %.dvi
LaTeX (latex) (r): latex -src -interaction=nonstopmode %.tex
DVI Chain (dvi-chain): txs:///latex | txs:///view-dvi
Ghostscript (gs): gs "?am.ps"
Default Compiler (compile) (r): txs:///pdflatex
Makeglossaries (makeglossaries): makeglossaries %
DviPs (dvips): dvips -o %.ps %.dvi
PDF Chain (pdf-chain): txs:///pdflatex | txs:///view-pdf
Asymptote PDF Chain (asy-pdf-chain): txs:///pdflatex | txs:///asy | txs:///pdflatex | txs:///view-pdf
Default Index Tool (index): txs:///makeindex
PS Chain (ps-chain): txs:///latex | txs:///dvips | txs:///view-ps
SVNADMIN (svnadmin): svnadmin
Precompile (pre-compile):
DVI->PS->PDF Chain (dvi-ps-pdf-chain): txs:///latex | txs:///dvips | txs:///ps2pdf | txs:///view-pdf
Asymptote DVI Chain (asy-dvi-chain): txs:///latex | txs:///asy | txs:///latex | txs:///view-dvi
LuaLaTeX (lualatex) (r): lualatex -synctex=1 -interaction=nonstopmode %.tex
Recompile Bibliography (recompile-bibliography): txs:///compile | txs:///bibliography | txs:///compile
Default Bibliography Tool (bibliography): txs:///bibtex
Texindy (texindy): texindy %.idx
Internal Precompile (internal-pre-compile): txs:///pre-compile | txs:///conditionally-recompile-bibliography
Ps2Pdf (ps2pdf): ps2pdf %.ps
XeLaTeX (xelatex) (r): xelatex -synctex=1 -interaction=nonstopmode %.tex
PDF Viewer (view-pdf): txs:///view-pdf-internal --embedded
BibTeX 8-Bit (bibtex8): bibtex8 %.aux
Makeindex (makeindex): makeindex %.idx
DviPdf (dvipdf): dvipdf %.dvi
Asymptote (asy): asy ?m*.asy
PdfLaTeX (pdflatex) (r): pdflatex -synctex=1 -interaction=nonstopmode %.tex
PS Viewer (view-ps): evince %.ps > /dev/null
Default Viewer (view): txs:///view-pdf

Additional Search Paths:
Command:
Log:
Pdf:

Related

Bugs: #1546

Discussion

  • Tim Hoffmann

    Tim Hoffmann - 2015-08-21

    Confirmed on Linux.
    Probably a poppler bug. Since it works on win (all TXS versions from 2.5.x to dev), it's more likely linux-related problem than just poppler-version-related.

     
    • Tim Hoffmann

      Tim Hoffmann - 2015-08-22

      Poppler does read the url correctly and we pass it to correctly (mailto:name@domain.example) to QDesktopServices::openUrl(url) (PDFDocument l.1003). So it's probably a Qt issue (tested here on Ubuntu Qt 4.8.6).
      @Benito: Can you reproduce this as well?

       
  • Benito van der Zander

    @Benito: Can you reproduce this as well?

    Works fine here

     
  • Tim Hoffmann

    Tim Hoffmann - 2015-08-22

    which Qt and poppler versions are you using?

     
  • Jan  Sundermeyer

    Jan Sundermeyer - 2016-03-14

    no feedback

     
  • Jan  Sundermeyer

    Jan Sundermeyer - 2016-03-14
    • status: open --> closed
    • Group: -->
     

Log in to post a comment.

MongoDB Logo MongoDB