Bug 398710 - The sidebar should always show only one panel on smaller screens
Summary: The sidebar should always show only one panel on smaller screens
Status: RESOLVED INTENTIONAL
Alias: None
Product: systemsettings
Classification: Applications
Component: sidebarview (show other bugs)
Version: 5.13.90
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Marco Martin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-09-16 12:21 UTC by Matej Mrenica
Modified: 2018-09-21 16:08 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Screenshot (136.24 KB, image/png)
2018-09-16 12:21 UTC, Matej Mrenica
Details
Bigger window = less space (266.18 KB, image/png)
2018-09-19 08:14 UTC, Matej Mrenica
Details
Smaller window = more space (230.63 KB, image/png)
2018-09-19 08:15 UTC, Matej Mrenica
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matej Mrenica 2018-09-16 12:21:54 UTC
Created attachment 115003 [details]
Screenshot

Mine is 1366x768 and there isn't much space left when there are two of the panels (See screenshot).
Comment 1 Nate Graham 2018-09-18 19:56:04 UTC
What's the problem in your screenshot? much space left for what? I'm having a hard time seeing the issue.
Comment 2 Matej Mrenica 2018-09-19 08:14:04 UTC
(In reply to Nate Graham from comment #1)
> What's the problem in your screenshot? much space left for what? I'm having
> a hard time seeing the issue.

I think that the panels only shouldn't take ~40% of the screen space, but rather only ~20, and the rest would be for the actual content like KCM. Look at the 'Testing area', how little space there is left. The easiest fix would be to change the treshold that decides whether one or two panels are shown. If I resize the window to a smaller one and the first panel hides there is actually more space for the content.
Comment 3 Matej Mrenica 2018-09-19 08:14:48 UTC
Created attachment 115092 [details]
Bigger window = less space
Comment 4 Matej Mrenica 2018-09-19 08:15:18 UTC
Created attachment 115093 [details]
Smaller window = more space
Comment 5 Matej Mrenica 2018-09-19 08:19:39 UTC
Screenshots: Different KCM but the same problem.
Comment 6 Nate Graham 2018-09-19 14:56:06 UTC
Note that the touchpad KCM that you;re using as an example was redesigned to support libinput in Plasma 5.13 and now takes us much less horizontal space. Also, my eventual goal is to eliminate the need for a second level of navigation entirely by consolidating KCMs. See https://phabricator.kde.org/T8871

Back to this bug:

If you reduce the window's width a bit, the second level of navigation should disappear, giving the KCM area more horizontal space. There's not really any particular need to maximize it.

I'll admit I still don't really understand what the problem is. I do understand that when two levels of navigation are visible, this inherently results in less space for the KCM itself unless you make the window even wider--which you can't do on a narrow screen. But it doesn't look like there's actually any particular lack of space. These KCMs as well as the System Settings app itself are designed to be responsive, and adjust intelligently no matter how much space is available. The touchpad example is improved starting in 5.13, and the SDDM KCM doesn't look problematic to me. The list gets a scrollbar and you can still reach all the content easily (also, most people don't have eight SDDM themes I think :) ).

Since you have a small screen, can't you just avoid maximizing the window?
Comment 7 Matej Mrenica 2018-09-19 18:13:11 UTC
" The touchpad example is improved starting in 5.13..."
Are you saying that there is a newer touchpad KCM than I have installed? 
(In Xorg)

About the window size, I guess you are right.
Comment 8 Nate Graham 2018-09-19 18:19:06 UTC
(In reply to mthw0 from comment #7)
> " The touchpad example is improved starting in 5.13..."
> Are you saying that there is a newer touchpad KCM than I have installed? 
> (In Xorg)

Well, as long as you have Libinput installed that is. If you're using the 5.14 beta and are still seeing the old UI, that must mean that you're using synaptics. And this old UI is probably not going to receive any changes because synaptics itself is deprecated and not even in maintenance mode. The future is Libinput, for better or worse.

> About the window size, I guess you are right.

Cool, thanks.
Comment 9 Matej Mrenica 2018-09-19 18:40:41 UTC
(In reply to Nate Graham from comment #8)
> (In reply to mthw0 from comment #7)
> > " The touchpad example is improved starting in 5.13..."
> > Are you saying that there is a newer touchpad KCM than I have installed? 
> > (In Xorg)
> 
> Well, as long as you have Libinput installed that is. If you're using the
> 5.14 beta and are still seeing the old UI, that must mean that you're using
> synaptics. And this old UI is probably not going to receive any changes
> because synaptics itself is deprecated and not even in maintenance mode. The
> future is Libinput, for better or worse.
> 
> > About the window size, I guess you are right.
> 
> Cool, thanks.

I have libinput, I dont have synaptics and I am seeing the old KCM as in the Screenshot. So I might have another problem then.
Comment 10 Nate Graham 2018-09-19 18:43:51 UTC
(In reply to mthw0 from comment #9)
> I have libinput, I dont have synaptics and I am seeing the old KCM as in the
> Screenshot. So I might have another problem then.
Uh-oh. Are you by any chance using Plasma in a VM, or on physical hardware?
Comment 11 Matej Mrenica 2018-09-19 18:46:05 UTC
(In reply to Nate Graham from comment #10)
> (In reply to mthw0 from comment #9)
> > I have libinput, I dont have synaptics and I am seeing the old KCM as in the
> > Screenshot. So I might have another problem then.
> Uh-oh. Are you by any chance using Plasma in a VM, or on physical hardware?

No, regular laptop. What kind of log would help?
Comment 12 Nate Graham 2018-09-21 03:08:36 UTC
(In reply to mthw0 from comment #11)
> (In reply to Nate Graham from comment #10)
> > (In reply to mthw0 from comment #9)
> > > I have libinput, I dont have synaptics and I am seeing the old KCM as in the
> > > Screenshot. So I might have another problem then.
> > Uh-oh. Are you by any chance using Plasma in a VM, or on physical hardware?
> 
> No, regular laptop. What kind of log would help?

Sadly I have no idea. Can you please file a bug for this Touchpad-KCM product? Thanks!
Comment 13 Matej Mrenica 2018-09-21 05:46:08 UTC
Here it is: https://bugs.kde.org/show_bug.cgi?id=398893
Isn't it a duplicate of https://bugs.kde.org/show_bug.cgi?id=387153 tough?
Comment 14 Nate Graham 2018-09-21 16:08:28 UTC
Darn, I could have sworn that we had already fixed that. :/