Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fill free space on Panel bugs #46

Open
Covkie opened this issue Jul 16, 2024 · 3 comments
Open

Fill free space on Panel bugs #46

Covkie opened this issue Jul 16, 2024 · 3 comments

Comments

@Covkie
Copy link

Covkie commented Jul 16, 2024

Title vanishes while hovered with a spacer on the same panel + other issues with spacers on the same panel. Prevents a use case of application-title-bar, global menu, spacer, other widgets from working:
image
in the edit mode you can see that the title has vanished
image
After exiting the title area is not clickable/draggable and only the icon display allows interaction

Fill free space on Panel is limited to the Maximum width parameter (currently have it set to 2000 to workaround this). When set to a value less than the free space the taken space changes when hovering with the Show disabled elements Hide option

Filling free space is attached to the "Title" element so removing it or it having no contents breaks the fill free space (Unrelated to the issue title but related to this part "Mouse area drag" is also attached to the title rather than blank widget space

antroids added a commit that referenced this issue Aug 2, 2024
@antroids
Copy link
Owner

antroids commented Aug 2, 2024

Title vanishes while hovered with a spacer on the same panel + other issues with spacers on the same panel. Prevents a use case of application-title-bar, global menu, spacer, other widgets from working:
After exiting the title area is not clickable/draggable and only the icon display allows interaction

Could you check the 0.6.9
I've added preferred size property, it should be used to calculate panel layout with spacers.

Fill free space on Panel is limited to the Maximum width parameter (currently have it set to 2000 to workaround this). When set to a value less than the free space the taken space changes when hovering with the Show disabled elements Hide option

I hope this problem will not be relevant anymore.
Maximim/Minimum width parameters are for Title.

Filling free space is attached to the "Title" element so removing it or it having no contents breaks the fill free space (Unrelated to the issue title but related to this part "Mouse area drag" is also attached to the title rather than blank widget space

I was unable to create several overlapped mouse handlers for buttons and widget background.
But you still can use a space as Title Undefined value.

@Covkie
Copy link
Author

Covkie commented Aug 6, 2024

Aug 06 01:04:23 bakery plasmashell[5577]: file:///home/kylie/.local/share/plasma/plasmoids/com.github.antroids.application-title-bar/contents/ui/main.qml:326:9: QML RowLayout: RowLayout called polish() inside updatePolish() of RowLayout
Aug 06 01:04:23 bakery plasmashell[5577]: file:///home/kylie/.local/share/plasma/plasmoids/com.github.antroids.application-title-bar/contents/ui/main.qml:326:9: QML RowLayout: possible QQuickItem::polish() loop

Plasmashell crashes with this spamming on 7.0.0 - panels weren't spawning and couldn't interact with the desktop at all. Well and truly exploded.

In the time before the crash (I toggled "Fill free space on panel") I couldn't see the preferred size property option

@antroids
Copy link
Owner

antroids commented Aug 6, 2024

Plasmashell crashes with this spamming on 7.0.0 - panels weren't spawning and couldn't interact with the desktop at all. Well and truly exploded.

Strange, I'm using it for several days without any problems. You usually need to kill plasmashell in such cases.
Could you export the config of your widget via context menu -> Export Configuration and attach it.
The version 0.6.8 can be reverted with:
wget https://github.com/antroids/application-title-bar/releases/download/v0.6.8/application-title-bar.plasmoid -O ${TMPDIR:-/tmp}/application-title-bar.plasmoid && kpackagetool6 -t Plasma/Applet -u ${TMPDIR:-/tmp}/application-title-bar.plasmoid && systemctl --user restart plasma-plasmashell.service

In the time before the crash (I toggled "Fill free space on panel") I couldn't see the preferred size property option

It is enabled when Fill free space is active, you don't need to do anything.

UPD: I have tried to reproduce the issue but with no luck so far. Could you also attach your QT version from "About this System".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants