Author Topic: Parameter info doesn't show on mouse over  (Read 1154 times)

kampeador

  • Junior Community Member
  • Posts: 7
  • Hero Points: 0
Parameter info doesn't show on mouse over
« on: July 25, 2023, 06:27:08 PM »
I am using debian 12 + KDE, latest SlickEdit trial version. For C/C++ functions and other symbols "Parameter info" is not shown on mouse over, only on (Alt+,). This issue is not present on qt5 version, but that one doesn't work well with high dpi mode.

2021 version works (same as 2022 qt5), but there are problems when switching between parameter info variants (from smaller to bigger).
If KDE animations are not set to instant, then multiple parameter infos overlap and turn into the flickering mess.
« Last Edit: July 25, 2023, 06:36:49 PM by kampeador »

Dennis

  • Senior Community Member
  • Posts: 3998
  • Hero Points: 521
Re: Parameter info doesn't show on mouse over
« Reply #1 on: July 26, 2023, 12:44:18 PM »
What are the issues with high DPI mode with the Qt5 version?

kampeador

  • Junior Community Member
  • Posts: 7
  • Hero Points: 0
Re: Parameter info doesn't show on mouse over
« Reply #2 on: July 26, 2023, 03:53:57 PM »
I am using KDE Plasma with X11 and fractional scaling 150%.

Here are some examples:
All pixmaps(icons etc) are blurry.
Some buttons overlap.(but nothing critical)

I've tried to start the SlickEdit by adding these lines into the "vs" file.
Code: [Select]
export QT_AUTO_SCREEN_SCALE_FACTOR=0
export QT_SCREEN_SCALE_FACTORS=1.0
and scale icons manually. It looks almost the same as qt4 version.

The problem with these parameters is when SlickEdit "starts" applications, they inherit these parameters too and become too small.
For example: Right Click on the tab of the opened file -> Browse Folder ....
It will open a default file manager (kde dolphin) at 100% scale, which is too small.

"Bonus" There is also a small video, which demonstrates "An Ultimate SlickEdit experience inside the KDE".
A workaround for this problem is to set "Animation speed" to "Instant" for the whole desktop environment.

kampeador

  • Junior Community Member
  • Posts: 7
  • Hero Points: 0
Re: Parameter info doesn't show on mouse over
« Reply #3 on: November 25, 2023, 10:49:41 AM »
SlickEdit 2023 (v28.0.0) all these issues persist.

Do you use "Qt::AA_EnableHighDpiScaling" and "Qt::AA_UseHighDpiPixmaps" attributes in the Linux x64 qt5 version?

You can reproduce blurry icons using float point values for QT_SCREEN_SCALE_FACTORS
Code: [Select]
export QT_AUTO_SCREEN_SCALE_FACTOR=0
export QT_SCREEN_SCALE_FACTORS=1.5
./vs

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 7041
  • Hero Points: 534
Re: Parameter info doesn't show on mouse over
« Reply #4 on: November 25, 2023, 03:37:45 PM »
I might have come up with a reasonable solution.

If we add SLICKEDIT_QT_SCREEN_SCALE_FACTORS and SLICKEDIT_QT_AUTO_SCREEN_SCALE_FACTOR environment variables, we can temporarily set QT environment variables and then set them back. They only need to be set when the QApplication class is created. Pretty sure they never get read/updated again later.

It seems to work in my testing. What do you think?