plasma-applet-tiledmenu icon indicating copy to clipboard operation
plasma-applet-tiledmenu copied to clipboard

Popup height decreasing in menu settings dialog

Open christiantosta opened this issue 4 years ago • 4 comments

When menu settings dialog is open, the height of menu is decreasing without user intervention. So menu height is shrinking. This bug is noted in version 38.

christiantosta avatar Jul 09 '20 04:07 christiantosta

Yeah, I thought I fixed Issue #71. v36: Use Math.ceil() to fix popup growing shorter every second

  • Did you notice this behavior in earlier versions of the widget? Edit: Did you restart Plasma after updating the widget?
  • Does it only start shrinking when the config window opens?
  • Does it stop shrinking when the config window closes?

Zren avatar Jul 09 '20 12:07 Zren

Only shrink when the config window opens. Problem not occurs in version 34, but present in v38.

christiantosta avatar Jul 09 '20 12:07 christiantosta

What screen resolution? What Screen scaling? What distro?

Can you modify ~/.local/share/plasma/plasmoids/com.github.zren.tiledmenu/contents/ui/config/ConfigGeneral.qml as mentioned here: https://github.com/Zren/plasma-applet-tiledmenu/issues/71#issuecomment-647894498

	ConfigSection {
		label: i18n("Popup") + ' ' + units.devicePixelRatio

Then close and reopen the Tiled Menu config window.

I don't quite understand how the config opening could cause this. The config only handles an Integer. It scales that config integer by the screen scaling.

Zren avatar Jul 10 '20 05:07 Zren

Lol this bug now happens to other people. Why don't you try my suggestion, rounding the units.devicePixelRatio to only 2 decimal number.

Zzombiee2361 avatar Jul 16 '20 03:07 Zzombiee2361