[kate] [Bug 411965] Rendering issue in dual screen hidpi setup

2019-09-16 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=411965

Nate Graham  changed:

   What|Removed |Added

 CC||n...@kde.org
 Status|REPORTED|CONFIRMED
 Ever confirmed|0   |1

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 411965] Rendering issue in dual screen hidpi setup

2019-09-16 Thread Guo Yunhe
https://bugs.kde.org/show_bug.cgi?id=411965

--- Comment #9 from Guo Yunhe  ---
I feel Qt often breaks things again when they introduce something new.

Here is the patch for Kate https://phabricator.kde.org/D23998

Not sure how we can fix it in Konsole or Qt.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 411965] Rendering issue in dual screen hidpi setup

2019-09-16 Thread Kai Uwe Broulik
https://bugs.kde.org/show_bug.cgi?id=411965

--- Comment #8 from Kai Uwe Broulik  ---
See https://bugreports.qt.io/browse/QTBUG-59017 and
https://bugs.kde.org/show_bug.cgi?id=363548

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 411965] Rendering issue in dual screen hidpi setup

2019-09-16 Thread Kai Uwe Broulik
https://bugs.kde.org/show_bug.cgi?id=411965

Kai Uwe Broulik  changed:

   What|Removed |Added

 CC||k...@privat.broulik.de

--- Comment #7 from Kai Uwe Broulik  ---
It ends up calling winId() which I have seen cause strange havoc in
applications in Dolphin and KMail in conjunction with high dpi and multi
screen. I can't find the bug report unfortunately and I was pretty sure it got
fixed in Qt at some point :/

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 411965] Rendering issue in dual screen hidpi setup

2019-09-16 Thread Guo Yunhe
https://bugs.kde.org/show_bug.cgi?id=411965

--- Comment #6 from Guo Yunhe  ---
And I already find a fix:

Change:

qobject_cast(m_konsolePart)->showShellInDir(m_directory);

to:

qobject_cast(m_konsolePart)->sendInput(QStringLiteral(" cd
") + KShell::quoteArg(m_directory) + QStringLiteral(" && clear\n"));

Work in the same way.

KonsolePart might need a fix, too. Because showShellInDir() is a very normal
function call and shouldn't cause rendering issues.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 411965] Rendering issue in dual screen hidpi setup

2019-09-16 Thread Guo Yunhe
https://bugs.kde.org/show_bug.cgi?id=411965

--- Comment #5 from Guo Yunhe  ---
Yes, it shows. After disabling that line, the console is not at your project
root directory. But it works.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 411965] Rendering issue in dual screen hidpi setup

2019-09-16 Thread Christoph Cullmann
https://bugs.kde.org/show_bug.cgi?id=411965

Christoph Cullmann  changed:

   What|Removed |Added

 CC||cullm...@kde.org

--- Comment #4 from Christoph Cullmann  ---
Hmm, interesting :/
Perhaps KonsolePart does strange things then.
Does the internal console show up at all?

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 411965] Rendering issue in dual screen hidpi setup

2019-09-16 Thread Guo Yunhe
https://bugs.kde.org/show_bug.cgi?id=411965

--- Comment #3 from Guo Yunhe  ---
Disable this single line solved the issue
(addons/project/kateprojectinfoviewterminal.cpp):

   
qobject_cast(m_konsolePart)->showShellInDir(m_directory);

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 411965] Rendering issue in dual screen hidpi setup

2019-09-16 Thread Guo Yunhe
https://bugs.kde.org/show_bug.cgi?id=411965

--- Comment #2 from Guo Yunhe  ---
Comment out this line can resolve the rendering issue:

addTab(new KateProjectInfoViewTerminal(pluginView, projectPath), i18n("Terminal
(.kateproject)"));

Looking into KateProjectInfoViewTerminal class now.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 411965] Rendering issue in dual screen hidpi setup

2019-09-16 Thread Guo Yunhe
https://bugs.kde.org/show_bug.cgi?id=411965

--- Comment #1 from Guo Yunhe  ---
If you open a normal file not in Git/SVN repo, it is still okay. KWrite and
KDevelop is always fine. So I think this is something caused by the project
panel of Kate.

-- 
You are receiving this mail because:
You are watching all bug changes.