Bug 486138 - If you run a script from a Folder View widget, the "run script?" confirmation dialog becomes very large
Summary: If you run a script from a Folder View widget, the "run script?" confirmation...
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Desktop icons & Folder View widget (show other bugs)
Version: 6.0.4
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-26 01:28 UTC by Konstantin
Modified: 2024-07-30 19:57 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 6.2.0
Sentry Crash Report:


Attachments
vid (3.07 MB, video/x-matroska)
2024-04-26 01:28 UTC, Konstantin
Details
vid (225.63 KB, video/webm)
2024-07-27 08:41 UTC, Konstantin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Konstantin 2024-04-26 01:28:24 UTC
Created attachment 168911 [details]
vid

If you run the script from the "View Folder" widget, the notification becomes very large.

If you run the script from Dolphin, the notification window has a normal size.

For more information, see the video (HEVC format).
Comment 1 Nate Graham 2024-07-27 04:15:51 UTC
Thanks for the video. Cannot reproduce the issue it depicts with current git master.

Does it reproduce for you in a new clean user account? Or in Plasma 6.1.3 or later?
Comment 2 Konstantin 2024-07-27 08:41:19 UTC
Operating System: Arch Linux 
KDE Plasma Version: 6.1.3
KDE Frameworks Version: 6.4.0
Qt Version: 6.7.2
Kernel Version: 6.10.1-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 32 × Intel® Core™ i9-14900KF
Memory: 62.6 ГиБ of RAM
Graphics Processor: NVIDIA GeForce RTX 4080/PCIe/SSE2
Manufacturer: ASUS

Video attached.
Comment 3 Konstantin 2024-07-27 08:41:45 UTC
Created attachment 172028 [details]
vid

Video
Comment 4 Nate Graham 2024-07-29 20:11:28 UTC
Do you have any KWin script active?

Does it reproduce for you in a new clean user account?
Comment 5 Konstantin 2024-07-30 02:27:26 UTC
I would not say that this is a problem. It's just unusual to see the window so big.

Maybe you're not repeating it the way I do. I have such a big window on all PCs and on my laptop.

You need to create a folder in the user's folder, name it ".sh". Then make a widget of this folder from below, as I showed in the video. Then run any script from this folder through the widget. For example, this:

#!/bin/bash
konsole --hold -e ffmpeg -i "input.wav" -vn -ac 2 -c:a aac -b:a 256k "output.m4a"

***
Do you have any KWin script active? − What does it mean?
Comment 6 TraceyC 2024-07-30 19:48:27 UTC
I am able to reproduce this on Solus Plasma 6.1.3
The only KWin scripts I have installed are
- MinimizeAll
-  Mudeer tiling support for widescreen monitors

I cannot reproduce the issue on git master. The confirmation dialog appears normally sized. I have the same KWin Scripts enabled.

Konstantin, KWin scripts are things you can install for added functionality. They are found in System Settings - Window Management - KWin Scripts. With that said, it doesn't appear they affect this.