[systemsettings] [Bug 465889] Primary Display Cannot be adjusted in 5.27.0, KDE Panel doesn't move with it.

2023-03-13 Thread Michael Butash
https://bugs.kde.org/show_bug.cgi?id=465889

--- Comment #17 from Michael Butash  ---
One other thing of note I forgot to mention, I tried change screen priorities
in Ksettings, moving around displays and reordering, trying to get the kde
panels tracking primary to move, but still would not, again under wayland or
xorg sessions.  Cairo-dock will seem to move with reordering the priority in
Ksettings, and verified xrand/nvidia-settings seeing the primary change, so
that is working for non-KDE things, just whatever aspect is tracking the panels
in plasma isn't respecting those.

Now the weird part is in Ksettings, if I move the primary display using xrandr
or nvidia-settings, it will see that I made a change and forcibly refresh, but
the ordering in new option still shows the old display as primary, even though
it knows it's not from the refresh.  The ordering concept doesn't seem to be
getting updated fully when changes happen outside its control such as a dock
disconnect or another application deciding to move the primary display from its
preferences, but I suspect this all ties into the weird behavior of the
"primary" panels not tracking properly for KDE-based services.

-- 
You are receiving this mail because:
You are watching all bug changes.

[systemsettings] [Bug 465889] Primary Display Cannot be adjusted in 5.27.0, KDE Panel doesn't move with it.

2023-03-13 Thread Michael Butash
https://bugs.kde.org/show_bug.cgi?id=465889

--- Comment #16 from Michael Butash  ---
Sorry for the delay, was sick or busy, so first chance I had to futz with the
desktop more.

> Ok, so for debugging purposes, let's forget about both nvidia-settings and
> xrandr and focus only on what happens when you use the Display & Monitor
> page in System Settings. 

I spent some time on this over the weekend recabling things, both under xorg
and wayland, resetting all the display properties up manually a display at a
time using only KDE settings, and found mostly the same behavior on either. 
The main panel and widgets simply will not follow the primary display
regardless of what KDE thinks is the primary display.

Short of wiping the whole .config directory, is there a better way to
selectively purge current display settings to let KDE refactor things or remove
any legacy fragments there might be?

> If you manually move the panel from the 4th display (priority 3) to the 3rd
> display (priority 1), does it thereafter follow changes to which screen has
> priority 1?

Any time I move the panel, it will only stay on the one marked primary as long
as the display geometry doesn't change, but ANY reset or change for me had the
panel jumping back to whatever it *thought* should be primary at the moment
despite where I moved it.  Past few days I've seen that be any of the displays,
it's almost random what one it picks to think is primary, but usually until I
restart the DE, it'll always stick to one in particular, but never predictably.

Because Cairo-Dock doesn't work in Wayland, I was attempting to use Latte Dock
as well, and what I found was where Cairo would follow what the system thought
was primary reliably, anything KDE, including Latte or any desktop-placed
widgets/panels followed whatever KDE thought was primary where the panels would
end up.  This seems to indicate all the KDE-y things alone seem busted.

This seems to be not helped by the fact that KDE doesn't seem capable of ever
putting my monitors back to the way there were between any forced hot-plug
events or reconfiguration events alone.  Not sure if this is a bug or feature
that it will do this, but when KDE keeps restarting and jumbling my entire
display, it certainly can't be helping.  I went so far as to put in EDID
spoofers to stop the madness of KDE forgetting my order/resolution/refresh
every time as bad behavior when I shut off displays, such was the recabling.

-- 
You are receiving this mail because:
You are watching all bug changes.

[systemsettings] [Bug 465889] Primary Display Cannot be adjusted in 5.27.0, KDE Panel doesn't move with it.

2023-02-27 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=465889

--- Comment #15 from Nate Graham  ---
Ok, so for debugging purposes, let's forget about both nvidia-settings and
xrandr and focus only on what happens when you use the Display & Monitor page
in System Settings. Once we can quantify exactly what the issue is there, we
can try to fix it, and then you hopefully won't have to use workaround scripts
anymore. :) In general it's best to submit bug reports only on behavior in KDE
software when not using any workarounds for bugs.

Let's start here:

> Looking at the output, priority one shows the 3rd display on DP-5.2, which is 
> proper, and my dock lands there, but the panel itself lands on the 4th 
> display, or DP-5.1.5/Priority 3.
If you manually move the panel from the 4th display (priority 3) to the 3rd
display (priority 1), does it thereafter follow changes to which screen has
priority 1?

-- 
You are receiving this mail because:
You are watching all bug changes.

[systemsettings] [Bug 465889] Primary Display Cannot be adjusted in 5.27.0, KDE Panel doesn't move with it.

2023-02-27 Thread Michael Butash
https://bugs.kde.org/show_bug.cgi?id=465889

--- Comment #14 from Michael Butash  ---
Thanks Matt, I will try that when I can reboot a bit later, but as of upgrading
to 5.27, I was still almost always using kde settings alone, and tried until I
couldn't get the panel and primary display to end up on the right monitor,
that's when I finally broke down to use nvidia-settings at all finally.  

I don't think the problem is with nvidia-settings as I only put it in the
middle of things after kde failed in the setup portion to get a proper primary
display and then the panel tracking primary.  The root it seems to me is I
can't get xrandr to get "primary" on the right display with kscreen settings,
so getting lost in translation further when I push primary with nvidia-settings
around it, which I presume why the panel is misbehaving.

The really wacky thing lately is my dock occasionally seems to glitch and lose
the displays, resetting things back to the primary laptop display only blanking
the others, but my main panel doesn't come back, only cairo-dock there. 
Occasionally even worse is my windows don't move back to the primary display
now either, meaning I have neither settings nor a terminal to reset my displays
to the full 4-monitor setup and find my missing windows!  I've had to use
cairo-dock to close konsole, and relaunch it there (luckily it was pinned) to
use my xrandr script before I'd just have to drop to a tty and reload sddm. 
Very ugly, and only ever seen this since 5.27, but seems all related to this
panel and primary display behavior.

-- 
You are receiving this mail because:
You are watching all bug changes.

[systemsettings] [Bug 465889] Primary Display Cannot be adjusted in 5.27.0, KDE Panel doesn't move with it.

2023-02-27 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=465889

Nate Graham  changed:

   What|Removed |Added

 CC||n...@kde.org

--- Comment #13 from Nate Graham  ---
Thanks. If you stop `nvidia-settings` from running, use System Settings >
Display & Monitor to configure your screens, and reboot, does the issue go
away?

-- 
You are receiving this mail because:
You are watching all bug changes.

[systemsettings] [Bug 465889] Primary Display Cannot be adjusted in 5.27.0, KDE Panel doesn't move with it.

2023-02-25 Thread Michael Butash
https://bugs.kde.org/show_bug.cgi?id=465889

--- Comment #12 from Michael Butash  ---
Sorry, I didn't realize the pastbin links expired, I attached the output and
some images of the desktop properly here.  I added some other information
requested from your blog as well.  Not sure if this should be here or
plasma/multi-screen, but seems a bit of both.

Tinkering with this some more after reboots and reconfiguration, the main panel
always seems to stick to display 4 now while 3rd is still set to primary (via
nvidia).

-- 
You are receiving this mail because:
You are watching all bug changes.

[systemsettings] [Bug 465889] Primary Display Cannot be adjusted in 5.27.0, KDE Panel doesn't move with it.

2023-02-25 Thread Michael Butash
https://bugs.kde.org/show_bug.cgi?id=465889

--- Comment #11 from Michael Butash  ---
Created attachment 156729
  --> https://bugs.kde.org/attachment.cgi?id=156729=edit
desktop-appletsrc file data

Output taken while displays active, 3rd set to primary with dock there, but
main panel and widgets on 4th.

-- 
You are receiving this mail because:
You are watching all bug changes.

[systemsettings] [Bug 465889] Primary Display Cannot be adjusted in 5.27.0, KDE Panel doesn't move with it.

2023-02-25 Thread Michael Butash
https://bugs.kde.org/show_bug.cgi?id=465889

--- Comment #10 from Michael Butash  ---
Created attachment 156728
  --> https://bugs.kde.org/attachment.cgi?id=156728=edit
full desktop low-res showing dock/panel disparities on far right 3/4th displays

Output taken while displays active, 3rd set to primary with dock there, but
main panel and widgets on 4th.

-- 
You are receiving this mail because:
You are watching all bug changes.

[systemsettings] [Bug 465889] Primary Display Cannot be adjusted in 5.27.0, KDE Panel doesn't move with it.

2023-02-25 Thread Michael Butash
https://bugs.kde.org/show_bug.cgi?id=465889

--- Comment #9 from Michael Butash  ---
Created attachment 156727
  --> https://bugs.kde.org/attachment.cgi?id=156727=edit
kscreen settings and nvidia-settings image

Output taken while displays active, 3rd set to primary with dock there, but
main panel and widgets on 4th.

-- 
You are receiving this mail because:
You are watching all bug changes.

[systemsettings] [Bug 465889] Primary Display Cannot be adjusted in 5.27.0, KDE Panel doesn't move with it.

2023-02-25 Thread Michael Butash
https://bugs.kde.org/show_bug.cgi?id=465889

--- Comment #8 from Michael Butash  ---
Created attachment 156726
  --> https://bugs.kde.org/attachment.cgi?id=156726=edit
kscreen-console output

Output taken while displays active, 3rd set to primary with dock there, but
main panel and widgets on 4th.

-- 
You are receiving this mail because:
You are watching all bug changes.

[systemsettings] [Bug 465889] Primary Display Cannot be adjusted in 5.27.0, KDE Panel doesn't move with it.

2023-02-25 Thread Michael Butash
https://bugs.kde.org/show_bug.cgi?id=465889

--- Comment #7 from Michael Butash  ---
Created attachment 156725
  --> https://bugs.kde.org/attachment.cgi?id=156725=edit
kscreen-doctor -o output

Output taken while displays active, 3rd set to primary with dock there, but
main panel and widgets on 4th.

-- 
You are receiving this mail because:
You are watching all bug changes.

[systemsettings] [Bug 465889] Primary Display Cannot be adjusted in 5.27.0, KDE Panel doesn't move with it.

2023-02-18 Thread Michael Butash
https://bugs.kde.org/show_bug.cgi?id=465889

--- Comment #6 from Michael Butash  ---
So some more on this random behavior, yesterday I went through and disconnected
my dock, reconnected them in left-to-right ordering, reset them up manually,
then without any real work, both the panel/plasma widget and dock items landed
on the 3rd display as intended.  Finally.  It's a bit painful to setup each of
4 displays in either nvidia or kde gui (latter far more painful with odd
snapping), so I wrote a quick one-liner shell script to use xrandr to activate,
set the res/refresh, place them sequentially, and set primary in far less time
than it took to reset it manually each time, which testing the script seemed to
keep the panel and dock in the same place even when I accidentally moved them
out of order.  Solid, maybe a fluke?

Nope, so I woke up today, and my dock had glitched somehow, losing the 3x
external displays again, so I use my trusty xrandr script to put things back,
and now the panels are amiss again with dock on display 3, and panel/plasma
widget on 4.  Ugh.

So yes, this seems oddly random the main panel if sticking to random-ish
displays where at least the dock is following standard directives consistently
still.  If there is a commonality, I'm missing it thus far.

-- 
You are receiving this mail because:
You are watching all bug changes.

[systemsettings] [Bug 465889] Primary Display Cannot be adjusted in 5.27.0, KDE Panel doesn't move with it.

2023-02-17 Thread Michael Butash
https://bugs.kde.org/show_bug.cgi?id=465889

--- Comment #5 from Michael Butash  ---
Actually, here's one of the whole screen setup with the settings and the panels
as they are weirdly right now.  Had to scale the image quality down some to fit
on a pastebin, but here you go.  https://pasteboard.co/Prf0B3yvjj5u.jpg

-- 
You are receiving this mail because:
You are watching all bug changes.

[systemsettings] [Bug 465889] Primary Display Cannot be adjusted in 5.27.0, KDE Panel doesn't move with it.

2023-02-17 Thread Michael Butash
https://bugs.kde.org/show_bug.cgi?id=465889

--- Comment #4 from Michael Butash  ---
Here's what this looks like currently from kde settings and nvidia-settings. 
https://pasteboard.co/dZxEOWGPCE1M.png

-- 
You are receiving this mail because:
You are watching all bug changes.

[systemsettings] [Bug 465889] Primary Display Cannot be adjusted in 5.27.0, KDE Panel doesn't move with it.

2023-02-17 Thread Michael Butash
https://bugs.kde.org/show_bug.cgi?id=465889

--- Comment #3 from Michael Butash  ---
Thanks for the response, here's the output of those: 
http://pastie.org/p/2vbKRktRNna6sX0AKTjdLx

Looking at the output, priority one shows the 3rd display on DP-5.2, which is
proper, and my dock lands there, but the panel itself lands on the 4th display,
or DP-5.1.5/Priority 3.

Display 1 - DP-4
Display 2 - DP-5.1.6
Display 3 - DP-5.2 (set primary in nvidia, dock is here)
Display 4 - DP-5.1.5 (panel is here, as is a plasma widget I had set on the
primary before)

Looking in KDE System Setting/Display, it seems to show the right monitor
nvidia settings show primary (can't tell, it doesn't show the port here). but I
couldn't set that until I did it in nvidia-settings.

That is another problem actually, the system settings in display really need to
show the actual port (ie. DP-5.1.5) in the device and change screen properties.
 All my displays show up the same with only the device name and no port, and I
can't tell them apart, which is frustrating.

Thanks again!

-- 
You are receiving this mail because:
You are watching all bug changes.

[systemsettings] [Bug 465889] Primary Display Cannot be adjusted in 5.27.0, KDE Panel doesn't move with it.

2023-02-17 Thread David Edmundson
https://bugs.kde.org/show_bug.cgi?id=465889

--- Comment #2 from David Edmundson  ---
Edit, I meant
> - xrandr -q shows the screen that had priority 1 as "primary"

-- 
You are receiving this mail because:
You are watching all bug changes.

[systemsettings] [Bug 465889] Primary Display Cannot be adjusted in 5.27.0, KDE Panel doesn't move with it.

2023-02-17 Thread David Edmundson
https://bugs.kde.org/show_bug.cgi?id=465889

David Edmundson  changed:

   What|Removed |Added

 CC||k...@davidedmundson.co.uk
 Status|REPORTED|NEEDSINFO
 Resolution|--- |WAITINGFORINFO

--- Comment #1 from David Edmundson  ---
There's a few different topics in your expected results, so lets try to focus
on just one.

>1. KDE System Settings needs a method of setting the Primary Display to expect 
>the Panel and Docks to follow that with 2 or more displays.

That should be happening.

Please verify not by where the docks and panels are, but through the output of
"kscreen-doctor -o" and "xrandr -q" 

What we should see is:
 - kscreen-doctor shows `priority 1` `priority 2` on screens 1-4 each time you
plug them in
 - xrandr -q shows the screen with priority 1 as top priority.

If this does not match the expected result, please attach relevant outputs
after plugging in the dock or configuring settings.

If this all looks correct, we can then start to look at the panels.

-- 
You are receiving this mail because:
You are watching all bug changes.