|
|
Subscribe / Log in / New account

Gräßlin: Multi-screen woes in Plasma 5.7

On his blog, Martin Gräßlin describes some of the multi-screen problems that users have been running into on KDE Plasma 5.7, what the causes are, and why multi-screen is a difficult problem to solve. "Many users expect that new windows open on the primary screen. Unfortunately primary screen does not imply that, it’s only a hint for the desktop shell where to put it’s panels, but does not have any meaning for normal windows. Of course windows should be placed on a proper location. If a window opens on a turned off external TV something is broken. And KWin wouldn’t do so. KWin places new windows on the “active screen”. The active screen is the one having the active window or the mouse cursor (depending on configuration setting). Unless, unless the window adds a positioning hint. Unfortunately it looks like windows started to position themselves to incorrect values and I started to think about ignoring these hints in future. If applications are not able to place themselves correctly, we might need to do something about it. Of course KWin allows the user to override it. With windowing specific rules one can ignore the requested geometry."

to post comments

Gräßlin: Multi-screen woes in Plasma 5.7

Posted Jul 12, 2016 0:06 UTC (Tue) by luto (guest, #39314) [Link] (1 responses)

I wonder what GTK / gnome-shell does differently. Does it ignore off-the-screen window info?

Gräßlin: Multi-screen woes in Plasma 5.7

Posted Jul 12, 2016 5:47 UTC (Tue) by mgraesslin (guest, #78959) [Link]

Given the comments from bug reports saying that this is not like that on GNOME, they either ignore it or run applications not having that problem.

Gräßlin: Multi-screen woes in Plasma 5.7

Posted Jul 12, 2016 2:23 UTC (Tue) by torquay (guest, #92428) [Link] (26 responses)


Martin's entire blog post is a litany of excuses. Take this gem for example:
    It’s affecting all Qt applications on X11 and has nothing to do with Plasma. Just because Plasma is also using Qt does not mean that Plasma developers have to fix it.

Apparently nothing is the fault of Plasma. It's either upstream's fault (Qt, drivers, etc), or the application themselves are to blame (dodgy window hints). Except that Plasma is the desktop environment providing the user interface. One of its core functions is to provide window management, and yet it fails to do that reliably. This makes it unfit for purpose.

If Plasma is to serve as a provider of a user interface, then it must take into account the limitations of the software stack it's using. In other words, it must provide workarounds for the underlying problems in the stack, or create its own parts of the stack (no need to use Qt for everything). Anything less than that is evading responsibility to the end users.

Furthermore, a lot of the issues described in the blog post could have been detected with a modicum of testing, prior to releasing Plasma. Instead, users are yet again treated as guinea pigs (ie. file bugs, because KDE developers couldn't be bothered to do thorough testing themselves). How many times have we been here before?

Gräßlin: Multi-screen woes in Plasma 5.7

Posted Jul 12, 2016 3:08 UTC (Tue) by ReallyNiceGuy (guest, #60085) [Link] (3 responses)

I always liked KDE applications and desktop, but I am using XFCE for some months now.
The straw for me was the window manager crashing every time my secondary monitor was turned on. I found a bug filled for this exact issue, added my report to it, but, more than a year after that, I still receive "me too" updates on that bug.
I have no problems using XFCE at all. It is simple enough, does the job, it is quick and lightweight.
I wonder if all the bells and whistles are really worth the trouble.
I agree with your view about testing, but I feel that the problem is deeper than that. It seems to me that much that is changed is just done for the sake of the change itself.

Gräßlin: Multi-screen woes in Plasma 5.7

Posted Jul 12, 2016 6:31 UTC (Tue) by phocean (guest, #108185) [Link]

Very well said, I totally share your points.

Gräßlin: Multi-screen woes in Plasma 5.7

Posted Jul 12, 2016 19:52 UTC (Tue) by pbonzini (subscriber, #60935) [Link]

XFCE's support for screen hotplug however is very bad, and it is a blocker for anyone who uses docking stations.

Gräßlin: Multi-screen woes in Plasma 5.7

Posted Jul 12, 2016 21:30 UTC (Tue) by mm7323 (subscriber, #87386) [Link]

This is/was similar to my experience. I found all sorts of bugs with the task bar getting stuck on the wrong screen, maximise/minimise not working properly and a whole host of basic stuff - only with multi-monitor. Getting my work environment how I wanted it took an odd combination of reboots, plugging monitors in and out, trying xrandr and the other config progs and just praying. Some days I couldn't get it how I liked and would just suffer for the day.

I filled some bugs with as much info as I could, and these collected lots of me-too responses, more info and suggestions. The bugs seemed to snowball, but there was never any progress or dev involvement so the energy was wasted.

I moved to LXDE, but then with HiDPI the whole thing got just too bad again. A new laptop later and I actually use Win10 with Linux in VirtualBox. It works well enough, and I can get Vbox to do screen scaling too if needed.

The sad thing is that I remember multi screen working really well in KDE on fedora 13 or something around then. I remember undocking, all the windows coming onto the panel, then docking again and them going back to their original multi-screen layout. Hopefully we will get back to that sort of thing one day again.

Gräßlin: Multi-screen woes in Plasma 5.7

Posted Jul 12, 2016 5:50 UTC (Tue) by mgraesslin (guest, #78959) [Link] (21 responses)

Yes the Internet is not broken! I was already surprised that I have not seen any comment on my blog post, on Phoronix and on reddit, saying that we only put blame on others and are stupid. Thank you, you put the world complete again.

Gräßlin: Multi-screen woes in Plasma 5.7

Posted Jul 12, 2016 6:29 UTC (Tue) by phocean (guest, #108185) [Link] (2 responses)

Yet, you haven't answered to some very valid points:

1) Why was it released to users without testing? It always take me 20 sec on any KDE fresh install to make it crash very badly, with multi-screen.

2) Ok, the underlying stack is rotten. But why is it working with Gnome? If you haven't yet, you should test this environment and pick some idea. At least they respected their users in finding a workaround.

So, yes, pointing out the weaknesses is good, but coming with a solution is better.

Because, even though I like Plasma, it is useless to me as is, so I am using Gnome.

Gräßlin: Multi-screen woes in Plasma 5.7

Posted Jul 12, 2016 7:08 UTC (Tue) by warrax (subscriber, #103205) [Link] (1 responses)

> Why was it released to users without testing? It always take me 20 sec on any KDE fresh install to make it crash very badly, with multi-screen.

The fact that it fails in 20s on your setup has no bearing on whether it regularly fails for anyone else. Testing resources are limited.

(Btw, do you have any idea how unbelievably entitled you sound/read to others?)

> Ok, the underlying stack is rotten. But why is it working with Gnome? If you haven't yet, you should test this environment and pick some idea. At least they respected their users in finding a workaround.

Well, GNOME has a different set of workarounds that fail in other circumstances.

Gräßlin: Multi-screen woes in Plasma 5.7

Posted Jul 12, 2016 7:26 UTC (Tue) by phocean (guest, #108185) [Link]

> The fact that it fails in 20s on your setup has no bearing on whether it regularly fails for anyone else. Testing resources are limited.

Nothing exotic, I do have a simple Thinkpad with Intel graphics, and I reported the bug a while ago.
Anyway, I could reproduce it on any hardware : login, place the external monitor on the top of the main, apply and... it is over: main screen get black, panel is on the secondary, and plasma gets unresponsive.

> (Btw, do you have any idea how unbelievably entitled you sound/read to others?)

No, sorry if you feel so. Of course, I am not. But neither your, nor me, are native English speaker or have the same culture.

> Well, GNOME has a different set of workarounds that fail in other circumstances.

In my extensive experience, very, very much less. Bugs are minor and in more serious circumstances, Gnome manages to reload himself, preserving windows positions and everything else.
Believe me, I am honest, as I do prefer Plasma as a DE. I have tried using it for months and tried all possible workarounds, but for my work I need stability.

don't make me laugh

Posted Jul 12, 2016 7:04 UTC (Tue) by h2 (guest, #27965) [Link] (17 responses)

Martin, I think it was you, last time I posted a serious bug comment on your blog, you did the following, I think it was you, if not you, it was another core kde dev, who is similar to you if it's not you:

1. ignored comment, did not publish it, because it pointed out a series of core problems with your approach to software development and bug reporting, using specific examples of massive bugs and failures from the 5x release to highlight the points, I assume that's why anyway.
2. locked thread for further comments
3. ignored another comment I put on another posting, same story.

My conclusion was this: kde is broken internally as a project and is currently unable to ship quality software that can be trusted. I moved to xfce, which thank god still appears to be run by responsible competent adults. If you're confused about how to properly integrate a new toolkit, look how xfce is doing it with gtk3. Slowly, bit by bit, probably waiting for issues to be resolved in gtk3 (and believe me, I'm NOT a gtk fan), then rolling out support for the new toolkit, once it's stable. Not breaking it all then making excuses, which seems to be the too big and pointlessly bloated to succeed model that gnome and kde are both following.

I further concluded that the kde project itself is the problem at this point, not a specific issue or bug, certainly I couldn't trust kde to deliver a desktop I'd want to use, even when working, it was like you guys never even try to stress your desktops, so the stuff is incredibly slow, particularly when you load it with lots of programs and virtual desktops (something it appears you guys don't even use as developers anymore given how incredibly poorly these things ran in 5.x and 4.x to a lesser but still quite poor degree), I had accepted this slowness in kde 4.x, but when I went to xfce, I suddenly saw how bad kde had gotten, switching virtual desktops now works just the same as it used on kde 3.5, when it was fast, like a desktop should be.

It seems like you guys have gotten lost in all your glitzy details, and actually believe that a desktop is something more than what runs your applications in a smooth, fast, clean way. it's sad, because a theoretically good and working kde would still be the best out there, but kde hasn't been good and fast for years, and 5.x isn't even working, though there's lots of excuses given.

I don't blame you for being defensive, that's certainly the easier option, rather than actually looking at the kde project and trying to figure out how things can have gotten so distorted that basic functionality is left to rot and die while you do all kinds of exciting things like adding support for wayland, something that barely even exists out here in the real world yet.

My conclusion is that there was never enough developer mindshare to maintain two distinct full featured desktops, and there still isn't, and there certainly isn't enough to maintain massively bloated stuff like kde 4-5x have become, or gnome, or whatever. Incremental development would have been the key, with well planned gradual integration of new toolkits, but that would probably require a mindset your project no longer has access too, which is too bad.

And I speak as someone who spent years doing heavy duty active support for a kde based distro, and really wanted to like kde but in the end I had to wave the white flag and give up, it simply was not practical to deal with software from a group that simply seems unable to do anything remotely close to good programming. kids, lol, what can you say, you can only get what you get out of college.

I'd tentatively suggest that a few simple tests be used to check design concepts:

1. the virtual desktops are not an afterthought, which means, you can do simple things that all your users wanted, like putting a different image on each desktop, by design, not a crude tacked on hack added late in the release series, like happened with 4.x. Again, being unable to do this I believe is a design flaw, not a small thing that doesn't matter.

2. switching between heavily loaded virtual desktops happens almost instantly. 4x would take up to 15 seconds on a very heavily loaded desktop switch, it was really getting silly. xfce of course manages this, magically, as it should, instantly. So did kde 3.5.

3. multiple monitor support is a core feature, face up to it, only power users as a rule use gnu/linux, it will never crack the windows market, this is particularly true because the one thing regular users not only hate, but won't tolerate, is incomprehensible failures of their desktops. I was a significant kde distro guy, and I lost 1 week on the various failures of 4.x to 5x, and I am patient, and able to debug, and try to resolve issues, heck, I'll even file bug reports to devs who are competent enough to take them, but certainly not if they react with defensiveness (always the hallmark of the mediocre I find).

So there's little point in pretending that gnu/linux desktop marketshare is more than the roughly 1.8, and apparently falling, that it is now, which means, get real, stop doing stupid over the top graphics junk and focus on what matters to users, the desktop working, being fast, stable, and reliable. If you can't figure that out, then just stop pretending kde is more than a hobbiest project.

I loved the entire concept behind kde, but it's failing seriously now. I'd say xfce is only a few core features/weaknesses away from being almost everything kde 3.5 was, which is more than 4.x and 5x ever will be given how slow they are. xfce of course has to deal with the radical gtk 3x instability, so I guess they will wait for gtk 3.x stable to be released, then build on that, incrementally moving along, slowly, conservatively.

don't make me laugh

Posted Jul 12, 2016 7:49 UTC (Tue) by mgraesslin (guest, #78959) [Link] (8 responses)

I don't like to be personally attacked like that like claiming that I would censor or remove posts. Also it's totally not OK to write things like "if it wasn't you, it was another core dev, doesn't matter". These are attacks on personal level. That's something I'm not OK with. I accept criticism on technical level and also attacks on technical level. On personal level I'm not accepting attacks - from nobody. This includes my blog post. If someone attacks me on my blog post on a personal level, I will remove the comment. These are the only comments I remove. Insulting comments are getting deleted by me. Thus if it was me who removed the comment it's related to how you worded it. It was a comment attacking me on a personal level instead of keeping it on a technical level.

don't make me laugh

Posted Jul 12, 2016 11:09 UTC (Tue) by nix (subscriber, #2304) [Link] (7 responses)

So parts of that comment were rather unpleasant, but to this observer (with one Plasma 5 installation that works on a single-monitor setup and one multi-monitor one atop an ATI video card that failed so inconsistently and erratically that I moved to LXDE-Qt, which, uh, works, despite using the oh-so-broken Qt 5), this reads as if you are using the nasty parts of that comment as a way to avoid addressing any of its substantive points.

Look, I get that wm development is hard and drives people to insanity in record time, and I get that crucial parts of the stack are broken, but the fact remains that if your software depends on a broken stack of components you replace or repair the broken pieces until you get something that works (e.g. perhaps getting and using an ATI video card, on which multi-monitor support works perfectly; or finding out what LXDE-Qt are doing to make multi-monitor support work). You don't post blog posts containing a litany of excuses: that just makes you look like you're whining and does nothing but reassure your users that you are not actually trying to fix the problem in any meaningful sense: you're trying to fob the problem off on other people.

After all, all the pieces here are free software and with the exception of the Intel portion none requires specialized hardware knowledge. At no point did you say why you couldn't fix any of the Qt bugs: you just took it as read that of course you wouldn't because that was in a different silo!

don't make me laugh

Posted Jul 12, 2016 16:01 UTC (Tue) by einar (guest, #98134) [Link]

> t no point did you say why you couldn't fix any of the Qt bugs: you just took it as read that of course you wouldn't because that was in a different silo!

For the record, many of the glaring issues with QScreen were fixed by KDE developers.

don't make me laugh

Posted Jul 12, 2016 18:01 UTC (Tue) by mgraesslin (guest, #78959) [Link] (5 responses)

> At no point did you say why you couldn't fix any of the Qt bugs: you just took it as read that of course you wouldn't because that was in a different silo!

git shortlog -- src/plugins/platforms/xcb/qxcbscreen.*:

Martin Gräßlin (2):
Enable XSync extension also for KWin
Do not overwrite existing event mask of root window

with 3 more changes by KDE devs. Overall in the xcb plugin I just counted 53 commits by KDE devs. Many of them being screen related.

So I think we do our job there.

don't make me laugh

Posted Jul 13, 2016 14:57 UTC (Wed) by nix (subscriber, #2304) [Link] (4 responses)

Yeah, that's why I found the tone so odd -- it was as if you were saying "not our fault, the bug is over there" while, oftentimes, *fixing* the bug over there. Your tone and honestly content were implying that KDE was incredibly siloed and nobody touched Qt, which was completely at odds with everything I understood about the amount of cross-development by the two groups (insofar as there even *are* two groups).

don't make me laugh

Posted Jul 13, 2016 15:29 UTC (Wed) by mgraesslin (guest, #78959) [Link] (3 responses)

The tone was caused because I told a user on Thursday to report an issue to Qt and it got closed the same day with "cannot reproduce" according to the user. Understandably I was rather pissed by that in combination with on the same day having been told in a bug report I reported a few months ago, that I should fix it myself. I just wanted to make clear that Qt has to fix their bugs and not wait for the KDE devs fixing all the bugs we see with their code base.

don't make me laugh

Posted Jul 13, 2016 17:10 UTC (Wed) by tuna (guest, #44480) [Link] (2 responses)

Could you please provide the link to the bug? Since you never do I start to believe you are not telling the whole story.

don't make me laugh

Posted Jul 13, 2016 19:05 UTC (Wed) by mgraesslin (guest, #78959) [Link] (1 responses)

don't make me laugh

Posted Jul 13, 2016 21:30 UTC (Wed) by tuna (guest, #44480) [Link]

Thank you!

don't make me laugh

Posted Jul 12, 2016 9:00 UTC (Tue) by distances (guest, #103785) [Link]

> project [..] is currently unable to ship quality software
> xfce [..] still appears to be run by responsible competent adults

I'm not affiliated with KDE, but do you really expect to be taken seriously after commenting like this? I for sure didn't bother to read the rest of your comment, and I would just straight away delete posts like this from my own blog. This is simply not constructive, and you know it.

Sorry for derailing the discussion. Martin, thanks for insights and your hard work, it's really appreciated. I recently updated to 5.7 and things seem very stable this far.

don't make me laugh

Posted Jul 12, 2016 17:07 UTC (Tue) by krake (guest, #55996) [Link]

> Slowly, bit by bit

Isn't that exactly how this is being done?

Krita had its first Qt5 based release only recently, I think Okular has not released its Qt5 variant yet, etc.

don't make me laugh

Posted Jul 12, 2016 17:57 UTC (Tue) by rsidd (subscriber, #2582) [Link] (2 responses)

I recognise that this and other comments above are hurtful in tone, and that the KDE/Plasma devs as well as the Gnome devs are hardworking people most of whom work for love of their projects rather than money. Still... empirical evidence seems to be that the Linux desktop (as embodied by KDE and Gnome) jumped the shark a while ago. "Regular" users who want a unixy-environment in a friendly GUI migrated to Mac at that time or earlier. Power users just feel alienated.

I'm a long-time, but not quite "power", user. My current, and likely long-term, desktop environment is a mix of i3 and xfce. But I only went this route because of frustrations with the "friendly", "Windows-like" alternatives. I installed KDE 1.0 on a bunch of linux machines at my grad school in the late 1990s, and many people were relieved at not having to battle with fvwm or whatever the previous desktop was. I used KDE, primarily, up until 4.0, and struggled with 4.x for a while after before quitting. I used Gnome 2 and Ubuntu Unity for a while. In a way I am thankful that all of these were so sub-optimal (or evolved in such sub-optimal directions) that I was forced to find a better setup for myself.

Now, my reading of the current situation is the "desktop" market for Linux, such as it is, is dominated by Ubuntu (Unity) and Fedora (Gnome 3). I'm not sure if there is a single widely-used distro that uses KDE by default any more. Doesn't mean KDE developers should just quit and do something else, but it does mean they should worry a little about what Linux desktop users (who are likely to be power users with multiple monitors etc) are experiencing, and how their offering compares to other desktops on Linux.

don't make me laugh

Posted Jul 12, 2016 18:19 UTC (Tue) by einar (guest, #98134) [Link]

> I'm not sure if there is a single widely-used distro that uses KDE by default any more.

openSUSE uses Plasma as the default desktop selection.

don't make me laugh

Posted Jul 15, 2016 19:31 UTC (Fri) by thoeme (subscriber, #2871) [Link]

I am running my 4 business PCs and my home PC on openSuSE (Leap 42.1) using KDE5 resp. Plasma. Labtop using dual-monitor setup from time to time works fine. Only issue I recently had was a kernel problem regarding intel resp. Nouveau. Fixed with Kernel 4.4 (or openSuSE-maintained 4.1)
Seens YMMV all over...

don't make me laugh

Posted Jul 13, 2016 5:42 UTC (Wed) by jackb (guest, #41909) [Link] (2 responses)

Your post made me consider how long I've been running KDE and what my experience has been.

I tried it intermittently in the late 90s, and then used it pretty much continuously since the 3.x days.

This means I've running KDE for about half my lifetime.

Half of the time I've been using KDE has been waiting for the 4.x and higher series to regain the stability of the 3.5 releases.

Have I really wasted a quarter of my life limping along with almost-but-not-quite functional desktop? I guess once you adapt to it the limitations and workarounds feel natural and you stop noticing them.

don't make me laugh

Posted Jul 16, 2016 15:30 UTC (Sat) by jospoortvliet (guest, #33164) [Link] (1 responses)

That is how people stick with any system, Windows, Mac, gnome or xfce. They all fuck up in many ways you just pick one who's flaws generally don't hit you or that you can work around...

don't make me laugh

Posted Jul 19, 2016 19:43 UTC (Tue) by Wol (subscriber, #4433) [Link]

Or that generally works the way you think so you don't keep falling over cognitive dissonances ... (I *hate* Word for that reason ...).

When I had my trouble with early KDE4, I ended up with Xfce and/or KDE. I can't remember whether I looked at Gnome, but when I do I almost always end up running away screaming - Gnome and I just don't get on ...

Cheers,
Wol

Gräßlin: Multi-screen woes in Plasma 5.7

Posted Jul 12, 2016 5:10 UTC (Tue) by aryonoco (guest, #55563) [Link] (21 responses)

Multi screen and HiDPI were the two main reasons I switched to OS X last year, after 15 years of using Linux on the desktop.

Consider this, I have three monitors, two of them are hidpi, one is normal 1080p monitor. I could not find any method, using any display server or window manager, to have different dpi scaling on different monitors. Stuff either looked tiny and unreadable on two of my monitors, or ginat and useless on the 1080p one.

OS X, for all it's faults, has these basic things worked out.

Traditional Linux on desktop is a lost cause. Can we all please move to Chromium OS and start developing apps in Android please?

Gräßlin: Multi-screen woes in Plasma 5.7

Posted Jul 12, 2016 6:58 UTC (Tue) by tuna (guest, #44480) [Link]

I believe your use case will now work with Wayland. Perhaps you could try Fedora 24 and see if it works (you have to manually choose Wayland from the GDM login).

Gräßlin: Multi-screen woes in Plasma 5.7

Posted Jul 12, 2016 7:19 UTC (Tue) by warrax (subscriber, #103205) [Link] (3 responses)

Having been an early adopter of HiDPI myself (got my first HiDPI monitor about 1-1½ year ago), I can certainly understand your frustration, but it really is a lot better these days, even given the inherent limitations of X11. (Waylay is supposedly better, but probably not *quite* ready for general consumption *just* yet.)

Gräßlin: Multi-screen woes in Plasma 5.7

Posted Jul 13, 2016 7:02 UTC (Wed) by mjthayer (guest, #39183) [Link] (2 responses)

> Having been an early adopter of HiDPI myself (got my first HiDPI monitor about 1-1½ year ago), I can certainly understand your frustration, but it really is a lot better these days, even given the inherent limitations of X11. (Waylay is supposedly better, but probably not *quite* ready for general consumption *just* yet.)

Off-topic, but having seen how much work is still being done on X.Org, I still have a suspicion that by the time Wayland is ready most of the unfixable problems with X11 will have been fixed (sometimes with creative but impressive solutions).

And I would also love it if HiDPI support were to join the list of fixed problems.

Gräßlin: Multi-screen woes in Plasma 5.7

Posted Jul 13, 2016 15:30 UTC (Wed) by mgraesslin (guest, #78959) [Link] (1 responses)

no, some things are unfixable on X11. How do you get lockscreens to work if a device can grab input?

Gräßlin: Multi-screen woes in Plasma 5.7

Posted Jul 13, 2016 19:01 UTC (Wed) by mjthayer (guest, #39183) [Link]

Martin Gräßlin wrote:
> no, some things are unfixable on X11. How do you get lockscreens to work if a device can grab input?

Yes, I admit that that is a hard one if you want to stick to plain X11. It could probably be done somehow in an extension (intuitively the composite extension seems to me to be a candidate, though I haven't thought about it all that long) but running a second X server on a different VT is probably the easiest solution as things are now. And since everything seems to use DBus and PolicyKit (if it is still called that) these days, some DBus API to hide the dirty bits.

Out of interest, how does the number of Wayland extensions compare to X11 these days? I haven't really followed, but I have an unfounded feeling that it is sprouting them like mushrooms.

Gräßlin: Multi-screen woes in Plasma 5.7

Posted Jul 12, 2016 8:49 UTC (Tue) by distances (guest, #103785) [Link] (11 responses)

> Traditional Linux on desktop is a lost cause. Can we all please move to Chromium OS and start developing apps in Android please?

How about keeping the discussion constructive? I'm coming to LWN to find proper discussion, not this kind of unnecessary flaming.

HiDPI is a fundamental change in desktop software. The big players of course can develop their stuff in co-operation with hardware vendors until everything works, and then release both when things are ready. FOSS can just play catch-up here, as you should very well know.

These efforts should be applauded, but half of the comments here are just ranting or direct attacks. I just don't get it.

Gräßlin: Multi-screen woes in Plasma 5.7

Posted Jul 12, 2016 12:30 UTC (Tue) by aryonoco (guest, #55563) [Link] (1 responses)

That last sentence was said with my tongue firmly planted in my cheek. Sorry if the sarcasm was lost.

Gräßlin: Multi-screen woes in Plasma 5.7

Posted Jul 12, 2016 13:03 UTC (Tue) by distances (guest, #103785) [Link]

Right, I did miss your tone in that case, sorry for the frustrated response.

I do understand these woes myself: I should get a new work laptop just about now, and I'm not sure if 4K screen is still a good idea -- anecdotes of current state of Plasma 5 HiDPI are welcome! Using Linux is still a bit restrictive on the desktop, especially if you can't really risk missing a workday due to problems with your exotic setup. Most of my colleagues are using Macs, which then again really aren't completely without problems either.

Overall things do work very well though, and with a bit preliminary work I have always found myself with a pleasant hardware and latest KDE goods.

Gräßlin: Multi-screen woes in Plasma 5.7

Posted Jul 12, 2016 17:11 UTC (Tue) by krake (guest, #55996) [Link] (1 responses)

> I just don't get it.

Lots of commenters have very little understanding of software development, or the different between corporate and voluneer work. Or both.

Gräßlin: Multi-screen woes in Plasma 5.7

Posted Jul 12, 2016 17:29 UTC (Tue) by halla (subscriber, #14185) [Link]

Too true. I've wondered which big open source project with a couple of million users "Torquay" is maintaining, for instance.

Gräßlin: Multi-screen woes in Plasma 5.7

Posted Jul 15, 2016 13:54 UTC (Fri) by ewan (guest, #5533) [Link] (6 responses)

These efforts should be applauded, but half of the comments here are just ranting or direct attacks. I just don't get it.
I think it's mostly born of frustration. It's not a helpful response, but it's an understandable emotion.

I've been using Linux as a desktop since the late '90s, and for most of that time I've been happy that, while it has some oddities, overall it's been better than the alternatives, and I've enjoyed how much it made easy things that were difficult or even impossible on the other major platforms.

Unfortunately, that's just not the case any more. I recently got stuck with a Windows 10 laptop for work, but actually it been a total revelation - previous versions of Windows used to be able to annoy me in a matter of minutes with their weird inconsistencies and random breakages, but 10 is actually good, it's actually easy to get stuff done, and this area in particular works really smoothly. I can hotplug a normal DPI monitor into my HiDPI laptop, drag a window onto it, and have it rescaled appropriately as I do. The first time I did it I was amazed it worked, then it struck me that it really shouldn't be a shock that you can have two screens and draw things the right size on both of them.

The current state of the Linux desktop is bad, it's worse than it was, and it's a lot worse than the alternatives. That's sad, and for the vast majority of us who aren't in a position to do a lot about fixing it beyond submitting bug reports, the options seem to be to suffer though it, or give up and move elsewhere.

I'm not surprised people get upset about that, it's upsetting.

Gräßlin: Multi-screen woes in Plasma 5.7

Posted Jul 15, 2016 16:53 UTC (Fri) by andresfreund (subscriber, #69562) [Link] (4 responses)

> I'm not surprised people get upset about that, it's upsetting.

True. But flaming the people actually spending their energy to work in the relevant area to death, is a good way to not get it ever fixed.

Gräßlin: Multi-screen woes in Plasma 5.7

Posted Jul 15, 2016 17:32 UTC (Fri) by halla (subscriber, #14185) [Link] (3 responses)

Especially when the flamers seem to be people who have never ever tried maintaining a free software project with a couple million users for even a day let alone years on end.

That said, I use Windows, Gnome, Plasma 5, Plasma 4 and OSX on a daily basis, and honestly, they all suck in different ways. Windows 10 regularly forgets that its got a touch screen -- which is unpleasantly limiting on a Surface Pro device. Gnome regularly forgets its extensions, and why the heck is the logout button hidden under a fold-out? Plasma 5 sometimes messes up my taskbar, but fair is fair, so does Windows 10. OSX has the most pathetic excuse for a Window manager ever, and instead of improving that is pushing all users to a full-screen workflow, because tablets. Connecting a drawing tablet is easiest on Linux, but both Gnome's and Plasma's tablet config applet is broken. OSX works fine with my Intuos 3 but not with my Cintiq, while the Intuos 3 doesn't work on Windows 10. On Windows, switching different tablets is hell anyway because they all need a different wintab dll, that cannot coexist. And what the heck has moved microsoft to ship a wintab driver for the Surface tablets that doesn't include the MSVC 2010 runtime?

Software is buggy, software sucks, software is hard, and if you're arguing that one OS is better than the other, or one desktop is better than the other, you're kidding yourself. The only real differentiator is freedom.

Gräßlin: Multi-screen woes in Plasma 5.7

Posted Jul 16, 2016 11:15 UTC (Sat) by tao (subscriber, #17563) [Link] (2 responses)

"why the heck is the logout button hidden under a fold-out?"

Because logging out it something that you don't do that often? Locking my screen -- sure, every time I leave my workstation. penguin + l.
suspending my laptop when I move it? Sure, close lid. But logging out? I don't think I've ever done that since university times, with shared lab computers...

Gräßlin: Multi-screen woes in Plasma 5.7

Posted Jul 16, 2016 15:35 UTC (Sat) by halla (subscriber, #14185) [Link] (1 responses)

Yes, I know the theory, but it still doesn't make any sense: it doesn't save space, it doesn't make the system easier to use or less cluttered, it adds clicks and it's confusing that the logout option is in a different place from reboot and shutdown. And I logout a lot because I need to test Krita on the most used desktops.

I also suspend my desktop a lot, for which I actually have to _install an extension_, which also doesn't make any sense to me.

Gräßlin: Multi-screen woes in Plasma 5.7

Posted Jul 19, 2016 19:45 UTC (Tue) by Wol (subscriber, #4433) [Link]

And it's the devs assuming that their use-case is everybody's use case ... News at Ten - we're not all the same ...

Cheers,
Wol

Gräßlin: Multi-screen woes in Plasma 5.7

Posted Jul 15, 2016 18:19 UTC (Fri) by pizza (subscriber, #46) [Link]

> The current state of the Linux desktop is bad, it's worse than it was, and it's a lot worse than the alternatives.

I disagree on all three points, especially on the second one -- The other two are a lot more subjective.

I suspect there's a certain amount of rose-colored memory involved when it comes to comparing things as they are to as they used to be. Despite the modern desktop being an order of magnitude more complex (and capable) than the old desktop environments of yesteryear, things largely JustWork(tm) without having to hand-fiddle with anything.

Sure, things are *different* but that in of itself doesn't make them worse (or better).

This things-have-never-been-better situation goes for the entire software stack.

(BTW, I am writing this as someone who currently uses Gnome3 at home, Gnome2 at work, and has been using Linux as his primary desktop/compute environment for nearly twenty years..)

Gräßlin: Multi-screen woes in Plasma 5.7

Posted Jul 12, 2016 13:51 UTC (Tue) by excors (subscriber, #95769) [Link] (3 responses)

> I could not find any method, using any display server or window manager, to have different dpi scaling on different monitors. Stuff either looked tiny and unreadable on two of my monitors, or ginat and useless on the 1080p one.

I was reasonably happy in a similar situation using xrandr scaling on the low-DPI monitor, like:

xrandr --fb 6080x1800 --output DP1 --scale 1.5x1.5 --pos 0x0 --output eDP1 --pos 2880x0

which resulted in a 2880x1620 framebuffer area downscaled onto the 1920x1080 physical monitor, and no scaling on the high-DPI second monitor. I set all the font sizes and UI DPI scaling etc to be readable on the high-DPI monitor, and they were downscaled to a reasonable size with only mild fuzziness on the low-DPI monitor. (If I remember correctly I also had to disable sub-pixel hinting (unnecessary on high-DPI and ugly on scaled-low-DPI). I think I also had some trouble with high-DPI support on the ancient version of KDE that was available, but it worked okay with Xfce.)

Gräßlin: Multi-screen woes in Plasma 5.7

Posted Jul 13, 2016 5:23 UTC (Wed) by aryonoco (guest, #55563) [Link]

Thanks for your advice, I'll definitely look into this over the weekend when I have a bit more time again.

Would be great if you wrote up a blog post or something to document this. Last time I checked (which was admittedly a few months ago) there was still nothing properly written that I could find online.

Gräßlin: Multi-screen woes in Plasma 5.7

Posted Jul 14, 2016 1:51 UTC (Thu) by mathstuf (subscriber, #69389) [Link] (1 responses)

A co-worker does something similar, but gets a doubled cursor (one at each DPI causing awful effects on the low DPI display (I think it looks OK on the high DPI display).

Gräßlin: Multi-screen woes in Plasma 5.7

Posted Jul 22, 2016 8:23 UTC (Fri) by daenzer (subscriber, #7050) [Link]

Sounds like a Xorg (driver) bug, leaving the HW cursor on when it should be off. Doesn't happen for me with recent Xorg and xf86-video-amdgpu/ati FWIW.

Gräßlin: Multi-screen woes in Plasma 5.7

Posted Jul 12, 2016 7:05 UTC (Tue) by tuna (guest, #44480) [Link] (22 responses)

Gräßlin makes a lot of claims that the Intel driver(s) are broken, but there are no references to bugs. Are there any actual bug reports?

Gräßlin: Multi-screen woes in Plasma 5.7

Posted Jul 12, 2016 7:15 UTC (Tue) by micka (subscriber, #38720) [Link]

I don't know about many, but mine is "too many voltage retries" when switching on a powered off or sleeping screen. You google it and find many reports. But then you read them and discover that it's actually many different unrelated bugs with the same symptoms, so when you think it's fixed, you discover you were following the wrong bug entry.

Gräßlin: Multi-screen woes in Plasma 5.7

Posted Jul 12, 2016 7:16 UTC (Tue) by h2 (guest, #27965) [Link]

yes, I saw those claims too, which were used as an attempt to explain the failures. The problem I had, of course, was at the time, I didn't own any machine with intel graphics. yet all my machines suffered failures. Multiple monitors were also listed as an excuse, and only one of my systems had dual monitors, but all had kde failures with 5.x.

When devs make excuses like this, I see it as a red warning flag to run away from the project, at least until they figure out how to actually do debugging and programming at a level they can sustain and have work.

Gräßlin: Multi-screen woes in Plasma 5.7

Posted Jul 12, 2016 7:36 UTC (Tue) by niner (subscriber, #26151) [Link] (18 responses)

Trust me, they are utterly broken. When I put my Thinkpad to sleep while docked and wake it up after undocking, the X server crashes. When I undock the running machine, the screen gets corrupted and I have to run a script that changes lowers the screen resolution and changes it back. Since kernel 2.6 the screen gets overwritten with garbage soon after login unless....I move the mouse cursor. As long as I keep moving the mouse the screen stays readable. Until it crashes anyway.

Really, the free radeon drivers on my desktop just work perfectly compared to that.

Gräßlin: Multi-screen woes in Plasma 5.7

Posted Jul 12, 2016 11:10 UTC (Tue) by tuna (guest, #44480) [Link]

I usually don't trust random people on the internet. Also, my experiences with Intel drivers (I have three laptops with different generations of chips) indicate that they work pretty great.

Gräßlin: Multi-screen woes in Plasma 5.7

Posted Jul 12, 2016 12:11 UTC (Tue) by tao (subscriber, #17563) [Link] (7 responses)

As a member of the Intel i915-team, I'm very much interested in this. Do you have a link to the bug report? Would you be able to test patches?

We don't have every combination of hardware to test on (especially not if you factor in docking stations, dongles, displays, etc.)

The only thing I can personally testify is that for *me* having a Skylake-based ThinkPad 13 connected to a 4k display via a OneDock+ survives suspend/resume without issues. Undocking/docking works.

If you've been running this since before kernel 2.6 I'm assuming this is really old hardware. Is it using APM or ACPI for suspend/resume? Do you use any workarounds for suspend/resume (most of these workarounds are, these days, counterproductive and will most likely break things rather than fix things).

Some older docking stations require quite a lot of magic and mess with the hardware on a deep layer; it might be that it's X that is broken rather than the i915 driver (then there's of course the intel X-driver, etc. etc. There are a lot of parts involved).

Gräßlin: Multi-screen woes in Plasma 5.7

Posted Jul 12, 2016 14:57 UTC (Tue) by niner (subscriber, #26151) [Link] (6 responses)

Would bugs.freedesktop.org be the right place for reporting these bugs? I would definitely love to test patches.

The kernel 2.6 was a typo. I meant 4.6. So it's a regression somewhere between 4.5 and 4.6. Would it help you if I bisect the issue?
Hardware is a Lenovo Thinkpad T440p with an i7-4700MQ.

Gräßlin: Multi-screen woes in Plasma 5.7

Posted Jul 12, 2016 19:13 UTC (Tue) by tao (subscriber, #17563) [Link] (5 responses)

bugs.freedesktop.org is definitely the place to report the bug. Bisecting the issue would be *awesome*.
If you have the time to also test with the drm-intel-nightly kernel that would help avoid doing double work in case
this is already fixed, but that's by no means necessary if you can provide a bisect.

Feel free to CC me in the bug report; david.weinehall@intel.com

Gräßlin: Multi-screen woes in Plasma 5.7

Posted Jul 13, 2016 14:09 UTC (Wed) by niner (subscriber, #26151) [Link] (4 responses)

I reported the kernel 4.6 regression in https://bugs.freedesktop.org/show_bug.cgi?id=96916
Turns out, it's an issue with PSR (whatever that is). Judging from the duplicates, I may have wasted a couple of hours bisecting it. There hasn't been any reaction whatsoever to the other bug reports :/

Gräßlin: Multi-screen woes in Plasma 5.7

Posted Jul 13, 2016 16:06 UTC (Wed) by nye (subscriber, #51576) [Link]

>Turns out, it's an issue with PSR (whatever that is)

http://www.anandtech.com/show/7208/understanding-panel-se...

Gräßlin: Multi-screen woes in Plasma 5.7

Posted Jul 13, 2016 23:57 UTC (Wed) by tao (subscriber, #17563) [Link] (2 responses)

Just speculating here, but it might be that the panel/VBIOS reports that it's PSR compliant even if it isn't, or that the docking station
screws things up somehow. Do you get similar behaviour if you connect an external display directly to the laptop? If I'm not all wrong the T440p has a mini-DP connector -- what happens if you connect the display directly to that instead?

Gräßlin: Multi-screen woes in Plasma 5.7

Posted Sep 24, 2016 10:40 UTC (Sat) by niner (subscriber, #26151) [Link] (1 responses)

I just noticed, that my answer to your question seems missing. I distinctly remember trying it out (had to find a DP cable) and posting the result, but maybe I only hit Preview and not the Post button afterwards.

Anyway, the issue is the same with an external display connected directly. And it is still present in 4.8rc6.

So far not even a response to my bug report :/

Gräßlin: Multi-screen woes in Plasma 5.7

Posted Sep 24, 2016 18:45 UTC (Sat) by tao (subscriber, #17563) [Link]

OK, I'll try to reproduce this; I've got a Haswell laptop (though not the same model as you have), as well as a HP ZR24w at the office.

PS: sorry about our rather bad track record when it comes to Bugzilla. We do read the bug reports, and try to fix the bugs, but we're rather bad at commenting/updating the status.

Gräßlin: Multi-screen woes in Plasma 5.7

Posted Jul 12, 2016 16:15 UTC (Tue) by flussence (guest, #85566) [Link] (8 responses)

+1, Intel's Linux support is *abysmal*. My laptop has recently sprouted a "fun" little bug where if I resize an OpenGL or video window too small it begins to wrap around on itself. For the past few years it's spammed dmesg with EDID errors on startup too (I've done enough reading to learn this can't be turned off in any way), and my distro's had to disable DRI3 for everyone because there's a crash bug regarding it that's been getting the silent treatment for 3 years. There's a long list of other crap, but at least the hangcheck timer doesn't see as much use these days!

(The radeon drivers haven't been perfect either, mind. I see uninitialized VRAM contents an awful lot more than I should...)

Gräßlin: Multi-screen woes in Plasma 5.7

Posted Jul 12, 2016 19:04 UTC (Tue) by tuna (guest, #44480) [Link] (1 responses)

Where is the bug that has been getting "the silent treatment for 3 years"?

Gräßlin: Multi-screen woes in Plasma 5.7

Posted Jul 13, 2016 15:04 UTC (Wed) by flussence (guest, #85566) [Link]

Gräßlin: Multi-screen woes in Plasma 5.7

Posted Jul 12, 2016 19:18 UTC (Tue) by tao (subscriber, #17563) [Link] (3 responses)

You've never considered that the EDID-errors might be due to the EDID information of your display actually being invalid? Also, AFAIK the EDID-parsing isn't done by the i915-driver; it's done one layer higher up (I think you'll find that the message is along the lines of
[drm:<function> [drm]], not [drm:<function> [i915]], the latter being how it would look like if it was a bug in the i915 driver.

Of course there's a possibility that the i915-driver reads the EDID information incorrectly, but don't rule out the display having invalid data. It's rather common.

Gräßlin: Multi-screen woes in Plasma 5.7

Posted Jul 13, 2016 15:28 UTC (Wed) by flussence (guest, #85566) [Link] (2 responses)

It probably is invalid, but what good does it do to fill my screen every boot with errors telling me a checksum isn't right? I can't just swap out the internal LCD panel with a different one to fix it. I can't reasonably mute this debug spam either, because someone in their infinite wisdom decided it should be printed at KERN_ERR severity.

</rant>

There's always a finger pointing somewhere else... maybe Intel should follow Microsoft's lead here: “stop shipping broken crap that manifests itself as a defect in our stuff, or else you can't use our name on the box to sell it”.

Gräßlin: Multi-screen woes in Plasma 5.7

Posted Jul 13, 2016 23:46 UTC (Wed) by tao (subscriber, #17563) [Link] (1 responses)

There's usually no Intel chipsets in displays, so I cannot really see how Intel could possibly influence the display makers in the first place. If we had that kind of influence we'd be very happy though -- there are more severe issues that we have to work around that we'd love to see fixed. :)

I realise that it might annoy you (I'm experiencing EDID warnings too, when connecting my computer to the TV), but unless you can figure out a way to tell harmless cases of invalid EDID from invalid EDID that actually causes problems, I think it'll be a hard sell to convince Dave Airlie (the maintainer of the DRM subsystem) to change the severity of that message. Give it a try if you like though.

If you know that the EDID warning is harmless, you could try passing drm.edid_fixup=0 -- I believe that should silence the warning for you. It's not a fix though, it's a workaround, since you'll disable the EDID sanity checks[1].

[1] Not speaking for Intel, bla bla bla. You know the drill.

Gräßlin: Multi-screen woes in Plasma 5.7

Posted Jul 14, 2016 19:40 UTC (Thu) by flussence (guest, #85566) [Link]

>There's usually no Intel chipsets in displays, so I cannot really see how Intel could possibly influence the display makers in the first place.

I'm probably a rare case in that I *can* accept it's someone else's anonymous component at fault. In fact almost all the times I've had hardware problems on Intel-based PCs I've owned, it's turned out to be a buggy BIOS or firmware. Serves me right for not buying coreboot-supported computers I guess.

In this case, a laptop, it's a single black box and I've no idea what the LVDS panel inside it is (other than nasty). The average end user's more likely to see problems and blame whatever they can immediately associate them with, be it the laptop maker, those pervasive “Intel inside” stickers, or the OS they're running.

Dragging this back on topic, I can sort of see why the KDE developers get easily frustrated. It's the same story of them relying on another part of the system to do its job right, but it keeps screwing up because the negative feedback processes that do exist fall far short of the root cause. Sadly this seems like such a common problem nobody's found a working solution yet.

Gräßlin: Multi-screen woes in Plasma 5.7

Posted Jul 12, 2016 21:26 UTC (Tue) by barryascott (subscriber, #80640) [Link] (1 responses)

In my experience, at a digial siganage company, EDID errors are always down to monitor or cable issues.
About a year ago there was an issue, not unique to Intel, that EDID reads could be done 1 byte at a time or in bigger
blocks, The kernal code that read EDID was not covering alll the cases for the reads and my colleague contributed
code to fix this problem.

We used Intel drivers in our produces and had great support from the Intel graphics team.

Gräßlin: Multi-screen woes in Plasma 5.7

Posted Jul 12, 2016 22:25 UTC (Tue) by farnz (subscriber, #17727) [Link]

Worth noting that that issue was with DisplayPort only (where you can read between 1 and 16 bytes over DP AUX, and rely on the far end converting that into appropriate I2C transactions, as opposed to HDMI, DVI or VGA where you have direct I2C access and Linux has always done the largest transfers that work), and was only an issue because buggy displays "work with Windows"; Windows always uses 16 byte reads from EDID in preference to smaller values.

Gräßlin: Multi-screen woes in Plasma 5.7

Posted Jul 12, 2016 7:56 UTC (Tue) by mgraesslin (guest, #78959) [Link]

> but there are no references to bugs. Are there any actual bug reports?

I don't have the references. For the issues on my own system it always was that the next update of the driver fixed the last regression. I never spent the time to investigate. I am quite aware of the fact that the distribution is doing rolling release of the master branch. So I know that it will be fixed soonish.

For a few issues I had bug reports where I investigated it. It's quite some time back, so I don't remember the bug ids. I remember one issue with sddm no longer starting on Arch - when we investigated it there was already a fix in master.

Gräßlin: Multi-screen woes in Plasma 5.7

Posted Jul 12, 2016 11:14 UTC (Tue) by lgeorget (guest, #99972) [Link] (8 responses)

Hi Martin, very instructive blog post, thank you. I have not used Plasma for a long time because I prefer tiling window managers but I believe you when you say that multi-screen is difficult. I remembered that it took me a long time (plus a lot of scripts/systemd units/udev rules) to get the multi-screen to work reasonably.

I have a question, which may sound naive to you, about a point in the article:

> KWin places new windows on the “active screen”. The active screen is the one having the active window or the mouse cursor (depending on configuration setting). Unless, unless the window adds a positioning hint. Unfortunately it looks like windows started to position themselves to incorrect values and I started to think about ignoring these hints in future.

Isn't it possible to validate the positioning hints from any new window, check whether they belong to the valid display area (i.e. inside the virtual display, not on a switched-off monitor, etc.) and ignore them if they are invalid? Wouldn't that solve at least the matlab splash screen and skype notifications issues?

Gräßlin: Multi-screen woes in Plasma 5.7

Posted Jul 12, 2016 11:47 UTC (Tue) by mgraesslin (guest, #78959) [Link] (7 responses)

> Wouldn't that solve at least the matlab splash screen and skype notifications issues?

matlab case yes, skype case no as it's an override redirect window.

The question is whether it's the right thing to do? Maybe there are valid cases to put windows off-screen? The general assumption here is that applications know what they do.

Gräßlin: Multi-screen woes in Plasma 5.7

Posted Jul 12, 2016 11:57 UTC (Tue) by micka (subscriber, #38720) [Link] (2 responses)

> The general assumption here is that applications know what they do.

Well, it seems the assumption might be not entirely exact them :)
Of course, if *most* applications do, being defiant towards applications might break more things than it fixes.

I'd really like if firefox stopped trying to place itself. While not really broken, it sometimes does unrational things.

Gräßlin: Multi-screen woes in Plasma 5.7

Posted Jul 12, 2016 12:37 UTC (Tue) by mgraesslin (guest, #78959) [Link] (1 responses)

> I'd really like if firefox stopped trying to place itself. While not really broken, it sometimes does unrational things.

On the other hand when clicking session restore in Firefox it places the window to the exact position. So there it does the right thing.

I guess it's like always: if there are two possible ways to handle that, no matter which one we choose we have users unhappy with the situation.

Nevertheless I think we need to evaluate this condition again. We can do better by doing safety tests and we do them in other areas.

Gräßlin: Multi-screen woes in Plasma 5.7

Posted Jul 12, 2016 19:44 UTC (Tue) by oever (guest, #987) [Link]

On the other hand when clicking session restore in Firefox it places the window to the exact position. So there it does the right thing.
Only if that position is still visible. The user might have had Firefox on an auxiliary monitor when in dual screen mode and started it again in single screen mode. In that situation, I think KWin already places Firefox in the visible area and ignores the position provided by the application.

I guess ideally, the WM would remember the last position of each application for each monitor setup. So then it would know that I like Firefox on the big monitor when that monitor is attached.

On a side-note, Plasma 5.7 just landed on NixPgks master and it is mostly running fine. I've submitted bug reports for the most annoying remaining issues. I'm happy with Project Neon, because it gives packagers a baseline to compare their packages with. Packagers can now see if something is a bug in packaging or in the software by running the corresponding Project Neon ISO.

Gräßlin: Multi-screen woes in Plasma 5.7

Posted Jul 13, 2016 1:31 UTC (Wed) by xtifr (guest, #143) [Link] (3 responses)

> The general assumption here is that applications know what they do.

Scary! :D

Fvwm, for all of its arcane configuration, allowed you to specify on a case-by-case basis whether an app's position requests and other hints should be followed or ignored. This really might be the only viable solution for now: blacklists of programs which can't be trusted.

Of course, adding any sort of user-friendly UI to something like this would be quite difficult. And I suspect there's too many poorly-behaved programs out there to reliably create a predefined list. (Although I suspect it's mainly a problem with older programs.)

FVWM

Posted Jul 13, 2016 8:00 UTC (Wed) by oldtomas (guest, #72579) [Link]

> Fvwm, for all of its arcane configuration, allowed you to specify on a case-by-case basis whether an app's position requests and other hints should be followed or ignored.

And this is, among others, the reason why I returned to Fvwm, after a longish excursion through Gnome and then XFCE: the window manager is on *my* side, while apps not always are. Since software started having "opinions" (and being proud of it) I feel I need one or two sizeable cluesticks to beat it into submission.

Gräßlin: Multi-screen woes in Plasma 5.7

Posted Jul 13, 2016 11:31 UTC (Wed) by ovitters (guest, #27950) [Link] (1 responses)

I'm pretty sure KWin has the same functionality in a GUI. IIRC by default it did something for Flash. However, being able to fix an application just for yourself is still working around the problem.

Gräßlin: Multi-screen woes in Plasma 5.7

Posted Jul 13, 2016 15:00 UTC (Wed) by nix (subscriber, #2304) [Link]

It does have the same functionality: it's got a huge list of bug workarounds you can activate on a window-by-window or class-by-class basis (for those few applications that actually *use* window classes any more :( )

Gräßlin: Multi-screen woes in Plasma 5.7

Posted Jul 12, 2016 12:08 UTC (Tue) by jfebrer (guest, #82539) [Link] (2 responses)

On my personal experience, since Plasma 5.6 and Qt 5.5.1 I didn't have any multi-screen trouble.

Gräßlin: Multi-screen woes in Plasma 5.7

Posted Jul 12, 2016 19:47 UTC (Tue) by gfranken (guest, #22822) [Link]

Other than the issue of not having different backgrounds (and widgets) on each virtual desktop, I haven't had many issues with Plasma 5.7 either. The transition from KDE 4 to KDE Plasma 5, Frameworks 5, and Qt 5 has been difficult at times--but it's been considerably less painful than moving from KDE 3 to KDE 4.

In fact, I briefly turned this desktop machine I'm typing on into a "Hackintosh", and while the machine worked well, I just hated Mac OS X. I switched it back to Linux/KDE a couple of months later. My switch to Apple also was due to wanting to edit videos, so I purchased Final Cut Pro--meanwhile, Kdenlive made some improvements, and is good enough for my needs (and of course, it's getting better).

Gräßlin: Multi-screen woes in Plasma 5.7

Posted Jul 21, 2016 11:12 UTC (Thu) by callegar (guest, #16148) [Link]

Which proves that you never forget to unplug your external monitor /before/ you suspend and that you never forget to plug in your external monito only /after/ your system has completed resuming. Otherwise you need to manually kill the kscreen backend.

Gräßlin: Multi-screen woes in Plasma 5.7

Posted Jul 12, 2016 21:25 UTC (Tue) by boog (subscriber, #30882) [Link] (1 responses)

I'd just like to thank the developers (and Martin in this case) for all their hard work.

Gräßlin: Multi-screen woes in Plasma 5.7

Posted Nov 23, 2017 9:42 UTC (Thu) by callegar (guest, #16148) [Link]

Unfortunately, as of today, 1 year and 3 months after the original article, kscreen remains very much broken.

If you have a laptop, and you attach it to an external screen, then close the lid and suspend the laptop, then detach the connectors, when you eventually attach an external screen again, kscreen ends up thinking that you re-attached the former monitor. This is quite evident as the UI with the Display and Monitor Settings *name* the monitor and you get the former name. For instance if you were initially attached to a Samsung monitor, you suspend the laptop, detach the connector, work with your laptop, then one day attach a Dell monitor, kscreen identifies it as Samsung and applies the settings for the Samsung monitor.

This is very bad. On some occasions with the external monitor you have the laptop screen disabled. Then, one day you need to give a presentation, you attach the projector, kscreen thinks it is the external monitor, switches off your laptop display and provides to the projector some resolution that it can't support. Et voilà, you are with no working screen at all in front of your audience.


Copyright © 2016, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds