Bug 437362 - If Display scaling is used, the minimum width of a dropdown box in the Digital clock configuration is not set properly.
Summary: If Display scaling is used, the minimum width of a dropdown box in the Digita...
Status: RESOLVED DUPLICATE of bug 403153
Alias: None
Product: plasmashell
Classification: Plasma
Component: Digital Clock (show other bugs)
Version: 5.21.90
Platform: Arch Linux Other
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-19 13:06 UTC by Kishore Gopalakrishnan
Modified: 2021-05-19 18:45 UTC (History)
1 user (show)

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


Attachments
Screenshot showing the dropdown box when it is too narrow (129.02 KB, image/png)
2021-05-19 13:06 UTC, Kishore Gopalakrishnan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kishore Gopalakrishnan 2021-05-19 13:06:56 UTC
Created attachment 138561 [details]
Screenshot showing the dropdown box when it is too narrow

SUMMARY
When display scaling is enabled, the dropdown box in the Digital Clock applet's configuration window (beside the 'show date' checkbox) sometimes becomes too narrow to read the options.

STEPS TO REPRODUCE
1. Go to Settings > Display and Monitor > Display configuration and set the display scaling to 150%
2. Reboot and log in again
3. Open the digital clock applet in the panel
4. Click on the 'Configure' button at the top right (which has the tooltip 'configure Digital Clock')
5. Go to the 'appearance' tab
6. Click on the dropdown box beside the 'show date' checkbox

OBSERVED RESULTS
The second option in the dropdown box is elided, and one cannot read what the complete option says. Resizing the window does not make the dropdown box larger. Screenshot attached.

If I select the second option, the dropdown box becomes wide enough to read 
it. Selecting the first option makes the box too narrow again.


EXPECTED RESULTS
Dropdown box should always be large enough to allow the user to read *all* the options. Note that 150% scaling is a reasonable scaling for my screen resolution (1920x1080).

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.21.90
KDE Frameworks Version: 5.82.0
Qt Version: 5.15.2
Kernel Version: 5.12.4-arch1-2 (64-bit)
Graphics Platform: X11
Processors: 8 × AMD Ryzen 5 3500U with Radeon Vega Mobile Gfx
Memory: 21.5 GiB of RAM
Graphics Processor: AMD Radeon™ Vega 8 Graphics
Display resolution: 1920x1080
Comment 1 Nate Graham 2021-05-19 18:45:32 UTC

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