Zren / plasma-applet-tiledmenu

https://store.kde.org/p/2142716/
145 stars 34 forks source link

Issue after updating to KDE frameworks 5.93 / QT6 #125

Open wodger1912 opened 2 years ago

wodger1912 commented 2 years ago

Good day,

As mentioned system did updates to KDE core apps from 5.92 - 5.93 today together with QT6. Not sure which one did it, but now the menu is stuck at 0px at the bottom of the screen. When in the settings, its defaulting "popup" grid columns to 0px, changing the value doesn't make the apply button activate and it resets to 0 after closing and reopening. Tried selecting fullscreen, but that makes no difference. I also looked in: /.local/share/plasma/plasmoids/com.github.zren.tiledmenu/contents/config/main.xml but appears default set to 640, so not sure whats going on. image

updated apps today from pacman log:

[2022-04-13T07:16:14+0800] [ALPM] upgraded attica (5.92.0-1 -> 5.93.0-1)
[2022-04-13T07:16:14+0800] [ALPM] upgraded ki18n (5.92.0-1 -> 5.93.0-1)
[2022-04-13T07:16:14+0800] [ALPM] upgraded karchive (5.92.0-1 -> 5.93.0-1)
[2022-04-13T07:16:14+0800] [ALPM] upgraded kconfig (5.92.0-1 -> 5.93.0-1)
[2022-04-13T07:16:14+0800] [ALPM] upgraded kcoreaddons (5.92.0-1 -> 5.93.0-1)
[2022-04-13T07:16:14+0800] [ALPM] upgraded kfilemetadata (5.92.0-2 -> 5.93.0-1)
[2022-04-13T07:16:14+0800] [ALPM] upgraded kidletime (5.92.0-1 -> 5.93.0-1)
[2022-04-13T07:16:14+0800] [ALPM] upgraded solid (5.92.0-1 -> 5.93.0-1)
[2022-04-13T07:16:14+0800] [ALPM] upgraded kwidgetsaddons (5.92.0-1 -> 5.93.0-1)
[2022-04-13T07:16:14+0800] [ALPM] upgraded kjobwidgets (5.92.0-1 -> 5.93.0-1)
[2022-04-13T07:16:14+0800] [ALPM] upgraded kdbusaddons (5.92.0-1 -> 5.93.0-1)
[2022-04-13T07:16:14+0800] [ALPM] upgraded kwindowsystem (5.92.0-1 -> 5.93.0-1)
[2022-04-13T07:16:14+0800] [ALPM] upgraded kcrash (5.92.0-1 -> 5.93.0-1)
[2022-04-13T07:16:14+0800] [ALPM] upgraded kglobalaccel (5.92.0-1 -> 5.93.0-1)
[2022-04-13T07:16:14+0800] [ALPM] upgraded kauth (5.92.0-1 -> 5.93.0-1)
[2022-04-13T07:16:14+0800] [ALPM] upgraded kcodecs (5.92.0-1 -> 5.93.0-1)
[2022-04-13T07:16:14+0800] [ALPM] upgraded kguiaddons (5.92.0-1 -> 5.93.0-1)
[2022-04-13T07:16:14+0800] [ALPM] upgraded kconfigwidgets (5.92.0-1 -> 5.93.0-1)
[2022-04-13T07:16:14+0800] [ALPM] upgraded kitemviews (5.92.0-1 -> 5.93.0-1)
[2022-04-13T07:16:14+0800] [ALPM] upgraded kiconthemes (5.92.0-1 -> 5.93.0-1)
[2022-04-13T07:16:14+0800] [ALPM] upgraded kxmlgui (5.92.0-1 -> 5.93.0-1)
[2022-04-13T07:16:14+0800] [ALPM] upgraded kbookmarks (5.92.0-1 -> 5.93.0-1)
[2022-04-13T07:16:14+0800] [ALPM] upgraded knotifications (5.92.0-1 -> 5.93.0-1)
[2022-04-13T07:16:14+0800] [ALPM] upgraded kservice (5.92.0-1 -> 5.93.0-1)
[2022-04-13T07:16:14+0800] [ALPM] upgraded kwallet (5.92.0-1 -> 5.93.0-1)
[2022-04-13T07:16:14+0800] [ALPM] upgraded kcompletion (5.92.0-1 -> 5.93.0-1)
[2022-04-13T07:16:14+0800] [ALPM] upgraded sonnet (5.92.0-1 -> 5.93.0-1)
[2022-04-13T07:16:14+0800] [ALPM] upgraded ktextwidgets (5.92.0-1 -> 5.93.0-1)
[2022-04-13T07:16:14+0800] [ALPM] upgraded kded (5.92.0-1 -> 5.93.0-1)
[2022-04-13T07:16:15+0800] [ALPM] upgraded kio (5.92.0-1 -> 5.93.0-1)
[2022-04-13T07:16:15+0800] [ALPM] upgraded baloo (5.92.0-1 -> 5.93.0-1)
[2022-04-13T07:16:15+0800] [ALPM] upgraded bluez-qt (5.92.0-1 -> 5.93.0-1)
[2022-04-13T07:16:15+0800] [ALPM] upgraded breeze-icons (5.92.0-1 -> 5.93.0-1)
[2022-04-13T07:16:15+0800] [ALPM] upgraded cups-filters (1.28.14-1 -> 1.28.15-1)
[2022-04-13T07:16:15+0800] [ALPM] upgraded kpackage (5.92.0-1 -> 5.93.0-1)
[2022-04-13T07:16:15+0800] [ALPM] upgraded syndication (5.92.0-1 -> 5.93.0-1)
[2022-04-13T07:16:16+0800] [ALPM] upgraded knewstuff (5.92.0-2 -> 5.93.0-1)
[2022-04-13T07:16:16+0800] [ALPM] upgraded frameworkintegration (5.92.0-1 -> 5.93.0-1)
[2022-04-13T07:16:16+0800] [ALPM] upgraded git (2.35.1-1 -> 2.35.2-1)
[2022-04-13T07:16:16+0800] [ALPM] upgraded help2man (1.49.1-1 -> 1.49.2-1)
[2022-04-13T07:16:16+0800] [ALPM] upgraded kactivities (5.92.0-1 -> 5.93.0-1)
[2022-04-13T07:16:16+0800] [ALPM] upgraded kactivities-stats (5.92.0-1 -> 5.93.0-1)
[2022-04-13T07:16:16+0800] [ALPM] upgraded kdeclarative (5.92.0-1 -> 5.93.0-1)
[2022-04-13T07:16:16+0800] [ALPM] upgraded kcmutils (5.92.0-1 -> 5.93.0-1)
[2022-04-13T07:16:16+0800] [ALPM] upgraded kcontacts (1:5.92.0-1 -> 1:5.93.0-1)
[2022-04-13T07:16:16+0800] [ALPM] upgraded kunitconversion (5.92.0-1 -> 5.93.0-1)
[2022-04-13T07:16:16+0800] [ALPM] upgraded kitemmodels (5.92.0-1 -> 5.93.0-1)
[2022-04-13T07:16:16+0800] [ALPM] upgraded kemoticons (5.92.0-1 -> 5.93.0-1)
[2022-04-13T07:16:16+0800] [ALPM] upgraded kparts (5.92.0-1 -> 5.93.0-1)
[2022-04-13T07:16:16+0800] [ALPM] upgraded kdelibs4support (5.92.0-1 -> 5.93.0-1)
[2022-04-13T07:16:16+0800] [ALPM] upgraded kpty (5.92.0-1 -> 5.93.0-1)
[2022-04-13T07:16:16+0800] [ALPM] upgraded kdesu (5.92.0-1 -> 5.93.0-1)
[2022-04-13T07:16:16+0800] [ALPM] upgraded kdnssd (5.92.0-1 -> 5.93.0-1)
[2022-04-13T07:16:16+0800] [ALPM] upgraded kholidays (1:5.92.0-1 -> 1:5.93.0-1)
[2022-04-13T07:16:16+0800] [ALPM] upgraded kimageformats (5.92.0-1 -> 5.93.0-1)
[2022-04-13T07:16:16+0800] [ALPM] upgraded kirigami2 (5.92.0-1 -> 5.93.0-1)
[2022-04-13T07:16:16+0800] [ALPM] upgraded knotifyconfig (5.92.0-1 -> 5.93.0-1)
[2022-04-13T07:16:16+0800] [ALPM] upgraded kpeople (5.92.0-1 -> 5.93.0-1)
[2022-04-13T07:16:16+0800] [ALPM] upgraded kquickcharts (5.92.0-1 -> 5.93.0-1)
[2022-04-13T07:16:16+0800] [ALPM] upgraded kwayland (5.92.0-1 -> 5.93.0-1)
[2022-04-13T07:16:16+0800] [ALPM] upgraded plasma-framework (5.92.0-2 -> 5.93.0-1)
[2022-04-13T07:16:16+0800] [ALPM] upgraded threadweaver (5.92.0-1 -> 5.93.0-1)
[2022-04-13T07:16:16+0800] [ALPM] upgraded krunner (5.92.0-1 -> 5.93.0-1)
[2022-04-13T07:16:16+0800] [ALPM] upgraded syntax-highlighting (5.92.0-1 -> 5.93.0-1)
[2022-04-13T07:16:16+0800] [ALPM] upgraded ktexteditor (5.92.0-1 -> 5.93.0-1)
[2022-04-13T07:16:16+0800] [ALPM] upgraded modemmanager-qt (5.92.0-1 -> 5.93.0-1)
[2022-04-13T07:16:16+0800] [ALPM] upgraded networkmanager-qt (5.92.0-1 -> 5.93.0-1)
[2022-04-13T07:16:16+0800] [ALPM] upgraded prison (5.92.0-1 -> 5.93.0-1)
[2022-04-13T07:16:16+0800] [ALPM] upgraded purpose (5.92.0-1 -> 5.93.0-1)
[2022-04-13T07:16:16+0800] [ALPM] upgraded qqc2-desktop-style (5.92.0-1 -> 5.93.0-1)
[2022-04-13T07:16:16+0800] [ALPM] upgraded qt6-translations (6.2.4-1 -> 6.3.0-1)
[2022-04-13T07:16:16+0800] [ALPM] upgraded qt6-base (6.2.4-1 -> 6.3.0-1)
[2022-04-13T07:16:16+0800] [ALPM] upgraded qt6-svg (6.2.4-1 -> 6.3.0-1)

Anything else I can provide, just let me know

bsnipes commented 2 years ago

I can confirm the issue on Garuda Linux. Updated this morning and have the same issues.

smowtenshi commented 2 years ago

Trying to open menu produces warning trying to show an empty dialog image

ghost commented 2 years ago

I am having the same problem. For now i can increase the size again with meta+right click but when i restart it gets smaller again.

smowtenshi commented 2 years ago

Downgrading plasma-framework back to 5.92.0 and restarting should solve the problem for now.

Zren commented 2 years ago

Seems there's a bug in KDE Frameworks 5.93

https://bugs.kde.org/show_bug.cgi?id=452512

Seems it's a bug where it ignores the Layout.preferredWidth and grabs the current width when the window is first displayed. TiledMenu seems to have a Layout.minimumWidth, but doesn't have aLayout.minimumHeight`. I think I'll release an update that requires the menu to be at least ~200px. It must be 4 sidebar buttons tall as (a-z + categories + user + power) are required.

2022-04-14___16-12-58

I managed to workaround the bug by hitting Win+Up to maximize the popup window for now.

mikedebian commented 2 years ago

Fixed in plasma-framework 5.93.0-2 on Arch Linux.

Btw, @Zren , in your screenshots you sometimes have tiles for the games. Where do you get them? I get so many mixed results with google. What exact size are those? Do you use another program to generate/download the tiles? A website?

Zren commented 2 years ago

@mikedebian Good to know!

The steam tiles are images from Steam's website. SteamDB might have a few unique ones but they're not easy to guess the URL.

The current Tile Editor should be able to detect a steam application with Exec=steam steam://rungameid/570 and display a few presets. However that feature will eventually go away since the way I detect that is going away (XMLHttpRequests on local files will be blocked in later Qt versions).

Maybe I can workaround it by checking if the default icon name/filepath is exposed (Eg: steam_icon_570.png)?

Lutris also stores the app banners in ~/.local/share/lutris/banners/.

snoweuph commented 2 years ago

Got this Issue on a Fresh and Updated install of Fedora Kde. plasma-framework is version 5.93.0-2

Zren commented 2 years ago

Ah, shame. They were only using 5.91 when 5.93 was released. Seems they didn't know to patch it.

I've been tracking the distros here:
https://github.com/Zren/plasma-applet-eventcalendar/issues/307#issuecomment-1106836582

snoweuph commented 2 years ago

Is there some way I can patch it for myself?

snoweuph commented 2 years ago

Now fixed under Fedora with 5.94