Bug 486796 - Tiny dialog to attach files
Summary: Tiny dialog to attach files
Status: REPORTED
Alias: None
Product: frameworks-kio
Classification: Frameworks and Libraries
Component: Open/save dialogs (other bugs)
Version First Reported In: 6.1.0
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: KIO Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-09 00:40 UTC by Grósz Dániel
Modified: 2024-05-10 15:35 UTC (History)
2 users (show)

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


Attachments
Screenshot (32.81 KB, image/png)
2024-05-09 00:40 UTC, Grósz Dániel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Grósz Dániel 2024-05-09 00:40:23 UTC
Created attachment 169328 [details]
Screenshot

SUMMARY
Since (I think) the switch to KMail 6.x, the file dialog to attach files in the composer is sized weirdly by default, to the dialog's minimum allowed size (see screenshot). After resizing it, it behaves normally. It doesn't happen with other file dialogs, not even other file dialogs in KMail, such as the one to save attachments. (The screenshot shows the Plastik style and Kontact, but it happens with Breeze and KMail too. KWin rules can't be the culprit either, I've tried with a separate user with no rules.)

STEPS TO REPRODUCE
1. Start writing an e-mail.
2. Click the toolbar button/press the shortcut to attach a file.

OBSERVED RESULT
The Attach File dialog is small, with the list of files invisible.

EXPECTED RESULT
The Attach File dialog has a normal size.

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20240506
KDE Plasma Version: 6.0.4
KDE Frameworks Version: 6.1.0
Qt Version: 6.7.0
Kernel Version: 6.8.7-1-default (64-bit)
Graphics Platform: X11
Comment 1 Laurent Montel 2024-05-09 06:07:18 UTC
Hi,
kmail uses kfiledialog we don't provide it.
=> it's not a kmail bug.
Regards
Comment 2 Grósz Dániel 2024-05-10 07:27:43 UTC
(In reply to Laurent Montel from comment #1)
> Hi,
> kmail uses kfiledialog we don't provide it.
> => it's not a kmail bug.
> Regards

Moving the bug to frameworks-kio. However, it doesn't happen anywhere else, so I assume it depends in some way on how KMail uses the dialog in that particular case, though I don't know where the bug actually is.
Comment 3 Grósz Dániel 2024-05-10 15:35:03 UTC
I now found it to also happen in Ark's Archive/Add Files... dialog, so it indeed looks like the bug is in the file dialog. That one has a custom Advanced Options button. Perhaps it happens whenever (or in some cases when) the application customizes the file dialog in some way?