nheko icon indicating copy to clipboard operation
nheko copied to clipboard

Upstream bug: menu appears at wrong location with scaling on

Open yuyichao opened this issue 4 years ago • 4 comments
trafficstars

Describe the bug

I'm not sure if you tracks upstream bugs here so feel free to close this. The upstream bug report is here https://bugreports.qt.io/browse/QTBUG-94619 . I just want to post it here in case someone else hit the same here and to help searching. It's quite a major usability issue I'd say...

To Reproduce

See upstream bug report. This affects the right click menu in message view.

Expected behavior

Screenshots

System:

  • Nheko version:
  • Profile used:
  • Installation method:
  • Operating System:
  • Qt version:
  • C++ compiler:
  • Desktop Environment:

Logs

Debugger backtrace

yuyichao avatar Jun 22 '21 15:06 yuyichao

I don't know of any workaround for this, so we will probably need to wait for this to be fixed upstream. Thank you for reporting this upstream though!

deepbluev7 avatar Jun 22 '21 20:06 deepbluev7

Right. I looked through the code and it seems pretty benign which is why I checked if it's just a Qt bug...... as I said, just a heads up...

yuyichao avatar Jun 22 '21 20:06 yuyichao

The "menu" referred in this issue is the "context menu" (https://github.com/Nheko-Reborn/nheko/issues/698). This problem occurs with the "Scale factor" option.

resolritter avatar Aug 27 '21 10:08 resolritter

linux version is affected from this bug, but scaling on windows version works normally

evren320 avatar Aug 01 '22 21:08 evren320

Fixed in the KDE patch collection for Qt 5.15.7: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=560d990f7afbe0ee816e0c0d12fd8d07c5efaf70 https://invent.kde.org/qt/qt/qtquickcontrols2/-/merge_requests/8

deepbluev7 avatar Dec 13 '22 02:12 deepbluev7