Bug 356342 - Size of popup of plasma-nm inside panel or desktop is very small
Summary: Size of popup of plasma-nm inside panel or desktop is very small
Status: RESOLVED FIXED
Alias: None
Product: plasma-nm
Classification: Plasma
Component: applet (show other bugs)
Version: 5.5.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Jan Grulich
URL:
Keywords:
: 357918 362734 (view as bug list)
Depends on:
Blocks: 350825
  Show dependency treegraph
 
Reported: 2015-12-06 21:52 UTC by Weng Xuetian
Modified: 2016-05-12 13:46 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Example size of plasma-nm (123.53 KB, image/png)
2016-04-05 22:28 UTC, Xavier Corredor Llano
Details
Screenshots, others plasmoid (730.28 KB, application/gzip)
2016-04-06 20:08 UTC, Xavier Corredor Llano
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Weng Xuetian 2015-12-06 21:52:59 UTC
After adding plasma-nm applet to desktop or panel, it is shown as its compact representation. Clicking on it will make it show a popup, but extremely small and non-operational.

Reproducible: Always

Steps to Reproduce:
1. Add plasma-nm to desktop / panel
2. Click on it

Actual Results:  
Popup size is very small.

Expected Results:  
Popup size should be similar to the size when it is in system-tray popup.
Comment 1 Jan Grulich 2015-12-07 07:01:55 UTC
Git commit 79f971f137b1677580a9cd9cf3d285e14ef3e611 by Jan Grulich.
Committed on 07/12/2015 at 07:01.
Pushed by grulich into branch 'master'.

Set minimum size of popup dialog

M  +2    -1    applet/contents/ui/main.qml

http://commits.kde.org/plasma-nm/79f971f137b1677580a9cd9cf3d285e14ef3e611
Comment 2 Jan Grulich 2015-12-07 07:02:39 UTC
Git commit c0c3c03139c787ed97e0bd7edd2cace36697af20 by Jan Grulich.
Committed on 07/12/2015 at 07:02.
Pushed by grulich into branch 'Plasma/5.5'.

Set minimum size of popup dialog

M  +2    -1    applet/contents/ui/main.qml

http://commits.kde.org/plasma-nm/c0c3c03139c787ed97e0bd7edd2cace36697af20
Comment 3 Jan Grulich 2016-01-13 12:18:47 UTC
*** Bug 357918 has been marked as a duplicate of this bug. ***
Comment 4 Xavier Corredor Llano 2016-04-05 22:22:54 UTC
This bug is still present in the latest version (see attachment) using Archlinux and plasma-nm v5.6.2. My display is 1080p in 14 inch size. HiDPI problem?
Comment 5 Xavier Corredor Llano 2016-04-05 22:28:19 UTC
Created attachment 98263 [details]
Example size of plasma-nm
Comment 6 Jan Grulich 2016-04-06 07:30:40 UTC
Do other applets (e.g. battery monitor) have same problem? I believe that this is a HiDPI problem, because with minimum size it works for me on non HiDPI monitor to work as it should.
Comment 7 Xavier Corredor Llano 2016-04-06 20:07:21 UTC
(In reply to Jan Grulich from comment #6)
> Do other applets (e.g. battery monitor) have same problem? I believe that
> this is a HiDPI problem, because with minimum size it works for me on non
> HiDPI monitor to work as it should.

Hi Jan Grulich, this only happen with plasma-nm, I took some screenshot for others plasmoids (see attachment), all plasmoid have a good size in contrast to plasma-nm. In fact, the networmanager item of icon tray named "Networks (automatic load)" in Extra items (similar to plasma-nm) has a good size!. Then I think that the problem is only with plasma-nm
Comment 8 Xavier Corredor Llano 2016-04-06 20:08:23 UTC
Created attachment 98271 [details]
Screenshots, others plasmoid
Comment 9 Jan Grulich 2016-04-07 06:23:36 UTC
The "networks" applet is plasma-nm, it's not a different applet. The reason why it's bigger there (same applies to other applets) is that they are loaded inside system tray.
Comment 10 Xavier Corredor Llano 2016-04-07 14:48:05 UTC
mm OK! but then the bug persist if the apple is outside the system tray, and I want have this icon outside the system tray and with the current size is unusable, it would good idea (if is possible) enable the option for change size manually as a window. Thanks Grulich
Comment 11 Jan Grulich 2016-05-06 07:34:38 UTC
*** Bug 362734 has been marked as a duplicate of this bug. ***
Comment 12 Jan Grulich 2016-05-12 09:16:20 UTC
Git commit f1284fb32ba7bfff634916fce861ad6fa79e23a5 by Jan Grulich.
Committed on 12/05/2016 at 09:02.
Pushed by grulich into branch 'master'.

Make the size of popup applet slightly bigger

M  +2    -2    applet/contents/ui/main.qml

http://commits.kde.org/plasma-nm/f1284fb32ba7bfff634916fce861ad6fa79e23a5
Comment 13 Enrico Tagliavini 2016-05-12 13:46:15 UTC
(In reply to Jan Grulich from comment #12)
> Git commit f1284fb32ba7bfff634916fce861ad6fa79e23a5 by Jan Grulich.
> Committed on 12/05/2016 at 09:02.
> Pushed by grulich into branch 'master'.
> 
> Make the size of popup applet slightly bigger
> 
> M  +2    -2    applet/contents/ui/main.qml
> 
> http://commits.kde.org/plasma-nm/f1284fb32ba7bfff634916fce861ad6fa79e23a5

Thank you Jan, much appreciated