Closed ElTh0r0 closed 7 years ago
(by ubuntuflo)
(by elthoro) I got the code from your mtr article, but I couldn't reproduce it. Please see my result in my attachment. Maybe I got your bug report wrong?
The font at your bottom image looks strange for me, it should be something monospace. Did you change someting at your system fonts settings?
(by ubuntuflo) I see two possibilities:
First: There is a chance that it works correctly (for you?) when using c/p since I assume that you c/p my MTR article in rawtext into InyokaEdit. I tried that (c/p from rawtext from uu-wiki) but codebox is still shifted.
Second: First time I'm aware that the font isn't the right one. Thanks for the hint :) Indeed I'm using the regular Ubuntu-Font on my (Unity-)System. When writing the MTR article I c/p the code from my terminal window which as well uses my system's Ubuntu-Font.
After your advice concerning fonts I switched the InyokaEdit font to Ubuntu. Nevertheless I see Ubuntu-Font in edit-window but sans/serif in preview-window. Result stays the same: codebox is shifted.
FYI: InyokaEdit.conf says: [Font] FontSize=10 FontFamily=Monospace
I just deleted all inyokaedit folders in $HOME and restarted InyokaEdit. But it didn't solve the problem either.
(by elthoro) Regarding 1.): I tested the following. Getting rawtext from uu-wiki via InyokaEdit download function, copying rawtext manually from wiki into editor and generating my own mtr output and copying the output from console into editor. All with the same correct result.
Regarding 2.): I didn't mean the font in InyokaEdit.conf. This affects only the view inside the rawtext editor window. The output is independent of it. I meant the Ubuntu system wide settings. How does the "~/.local/share/data/inyokaedit/tmpinyoka.html" look like in a browser (after generating the preview of an artikel)?
(by ubuntuflo) The ~/.local/share/data/inyokaedit/tmpinyoka.html looks correctly in Fox 23.
(by elthoro) Thanks for the test. So, I assume it's a problem of QtWebKit. I found these bugs:
Concerning the first link, it seems nothing will be done for Qt 4.8.4...
When entering text in code-syntax ( {{{foo}}} ) with multiple lines it is not shown correctly. See attached image (top correct; bottom wrong).
ProblemType: Bug DistroRelease: Ubuntu 13.10 Package: inyokaedit 0.10.0-0ubuntu1-ppa~257~raring1 [origin: LP-PPA-elthoro-inyokaedit] ProcVersionSignature: Ubuntu 3.10.0-6.17-generic 3.10.3 Uname: Linux 3.10.0-6-generic x86_64 ApportVersion: 2.12-0ubuntu3 Architecture: amd64 CrashDB: inyokaedit Date: Tue Aug 13 14:39:03 2013 InstallationDate: Installed on 2013-04-05 (129 days ago) InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Alpha amd64 (20130402.1) MarkForUpload: True ProcEnviron: LANGUAGE=de_DE PATH=(custom, no user) XDG_RUNTIME_DIR=
LANG=de_DE.UTF-8
SHELL=/bin/bash
SourcePackage: inyokaedit
ThirdParty: True
UpgradeStatus: No upgrade log present (probably fresh install)
Imported from Launchpad using lp2gh.