Bug 493842 - Firefox download notification goes enormous on detail
Summary: Firefox download notification goes enormous on detail
Status: RESOLVED DUPLICATE of bug 493803
Alias: None
Product: plasmashell
Classification: Plasma
Component: Notifications (other bugs)
Version First Reported In: 6.1.90
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-09-29 17:04 UTC by Gurenko Alex
Modified: 2024-10-01 13:55 UTC (History)
3 users (show)

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


Attachments
Details are shown (289.76 KB, image/png)
2024-09-29 17:04 UTC, Gurenko Alex
Details
Hide details after it's shown (205.46 KB, image/png)
2024-09-29 17:05 UTC, Gurenko Alex
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gurenko Alex 2024-09-29 17:04:45 UTC
Created attachment 174209 [details]
Details are shown

SUMMARY


STEPS TO REPRODUCE
1. Try downloading https://kojipkgs.fedoraproject.org/compose/branched/Fedora-41-20240929.n.0/compose/Everything/aarch64/iso/Fedora-Everything-netinst-aarch64-41-20240929.n.0.iso in Firefox
2. Click Details

OBSERVED RESULT

The full link is shown as a single line enlarging the whole notification to inadeqate size. Clicking to hide details keeps notification extremely large.

EXPECTED RESULT

I would say the previous behavior of multi-line would be preferred and notification should go back to the normal size if details is hidden imo

SOFTWARE/OS VERSIONS

Operating System: Fedora Linux 41
KDE Plasma Version: 6.1.90
KDE Frameworks Version: 6.6.0
Qt Version: 6.7.2
Kernel Version: 6.11.0-63.fc41.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 24 × AMD Ryzen 9 5900X 12-Core Processor
Memory: 31.3 GiB of RAM
Graphics Processor: AMD Radeon RX 7900 XTX
Manufacturer: Micro-Star International Co., Ltd.
Product Name: MS-7C84
System Version: 1.0

ADDITIONAL INFORMATION
Comment 1 Gurenko Alex 2024-09-29 17:05:13 UTC
Created attachment 174210 [details]
Hide details after it's shown
Comment 2 Marco Martin 2024-09-30 15:06:30 UTC
can reproduce
Comment 3 Nate Graham 2024-09-30 15:34:45 UTC

*** This bug has been marked as a duplicate of bug 493803 ***
Comment 4 Marco Martin 2024-10-01 10:10:15 UTC
Git commit 158bd86da3dc1b50c09497c0960f7c6de3706034 by Marco Martin.
Committed on 01/10/2024 at 09:11.
Pushed by mart into branch 'Plasma/6.2'.

applets/notifications: Fixes for popup width

* Only consider the size hint of the buttons to eventually enlarge the
  popup
* Make the buttons implicit width surface to the popup via item
  Layout.preferredWidth
* Give the popup Dialog a fixed unresizable width with
  Layout.minimum/maximumWidth to the Dialog main item
Related: bug 493803


(cherry picked from commit 2299a7db4ad205431f13d7d2e80681eacc072e0f)

3fdb2493 applets/notifications: Fixes for popup width

Co-authored-by: Marco Martin <notmart@gmail.com>

M  +6    -0    applets/notifications/package/contents/ui/NotificationItem.qml
M  +6    -2    applets/notifications/package/contents/ui/NotificationPopup.qml

https://invent.kde.org/plasma/plasma-workspace/-/commit/158bd86da3dc1b50c09497c0960f7c6de3706034
Comment 5 Marco Martin 2024-10-01 10:16:30 UTC
Git commit 2299a7db4ad205431f13d7d2e80681eacc072e0f by Marco Martin.
Committed on 01/10/2024 at 09:10.
Pushed by mart into branch 'master'.

applets/notifications: Fixes for popup width

* Only consider the size hint of the buttons to eventually enlarge the
  popup
* Make the buttons implicit width surface to the popup via item
  Layout.preferredWidth
* Give the popup Dialog a fixed unresizable width with
  Layout.minimum/maximumWidth to the Dialog main item
Related: bug 493803

M  +6    -0    applets/notifications/package/contents/ui/NotificationItem.qml
M  +6    -2    applets/notifications/package/contents/ui/NotificationPopup.qml

https://invent.kde.org/plasma/plasma-workspace/-/commit/2299a7db4ad205431f13d7d2e80681eacc072e0f
Comment 6 Nate Graham 2024-10-01 13:55:43 UTC

*** This bug has been marked as a duplicate of bug 493803 ***