mludwig created this revision. mludwig added a reviewer: Okular. Restricted Application added a project: Okular. mludwig requested review of this revision.
REVISION SUMMARY Okular source references don't work on Windows at the moment when synctex is involved (compiled with MSVC 2017). The problem seems to originate from the fact that the wchar_t versions of PathFindFileName and PathFindExtension are automatically used. However, path names are given in an 8-bit encoding to synctex (QFile::encodeName) and the synctex code is really only prepared for 8-bit encodings. REPOSITORY R223 Okular REVISION DETAIL https://phabricator.kde.org/D9937 AFFECTED FILES core/synctex/patches/16-use-windows-ansi-api-path-find.diff core/synctex/synctex_parser_utils.c To: mludwig, #okular Cc: michaelweghorn, gassaf, ngraham, aacid