Re: EDGE_FULL_BACKGROUND
"'Roland Hughes' via scintilla-interest" <[email protected]> Sun, 1 Sep 2024 08:23:11 -0500
| Newsgroups | gmane.comp.lib.scintilla.devel |
|---|---|
| Message-ID | <[email protected]> |
On 9/1/2024 6:53 AM, 'Neil Hodgson' via scintilla-interest wrote: > The monitor positions in global coordinates shouldn't matter as GTK provides a window coordinate space to draw in. > > Was the problem here that the margin width and scroll position 'xStart' weren't added in as they are for the EdgeVisualStyle::Line case? > No. It highlighted FROM column 80 to the left margin instead of the right. Been a problem with Gtk and multiple monitors for a long time. That's why so few Linux distros bother supporting Gtk based desktops anymore. Problem is worse under some distros, like Arch, which doesn't automatically store "RightOf" when monitors are dragged <https://bbs.archlinux.org/viewtopic.php?id=289850>. One of the reasons I chose to use Cinnamon edition of Manjaro is the fact it gives you a /real/ desktop which Gnome does not. The other reason was to see just how failed the Wayland experiment is <https://forums.linuxmint.com/viewtopic.php?t=411761>. Yes, that's a Mint forum, but a pretty accurate summary of where things were in January. I can tell you that even with the latest updates on Manjaro Cinnamon the lock screen will not accept /any/ password. Wayland does X11 emulation and it isn't very polite at informing X11 about the current arrangement of monitors. At the time of the problem I did not open the file documented in that post to see if it was missing the "RightOf" line. I suspect it was. At the time I was creating the Yocto built OS for this device <https://www.kneevoice.com/>, we had a real PITA. Due to a smoke filled room mafia-type deal between Qt, NXP, and The Yocto Project, they dropped all X-11. You had to use Docker containers and Wayland. We could not, by application, control either screen position or orientation. The YAML for the container would let us control orientation, but not screen position. Instead of a group of dynamically positional "application bricks" they had to be bricks run by a single full screen window inside of a single app. With this Wayland stuff there is now a disconnect between what the actual desktop knows and what Gtk (or other old libraries) "see" when making raw low-level X-11 calls. I don't expect the emulator to "improve" because the boys and girls pushing Wayland want to purge all X-11. Not wanting to totally dominate the mailing list with this topic, but a good discussion can be found here <https://askubuntu.com/questions/11537/why-is-wayland-better>. Basically all of the higher end graphics cards/drivers and desktops have compositors and Wayland wants to be "One Compositor to Rule Them All" with a direct connection to the kernel. Well that's just bright and beautiful for the "desktop" user. Ass-U-Me-ing every OpenSource product also abandons X-11 and re-writes with a Wayland UI library all creatures great and small will sleep as one tonight. In my world, embedded systems for mostly medical devices, we don't need/want/or desire a "desktop" layer be forcibly inserted into the device that is trying to fix your heart or perform some other medical function. Despite all its flaws X-11 was proven, FDA approved (many version) and we knew just what to strip out to make it secure. Many/most of our devices don't even allow in-bound connection from the outside world in any form. So yes Neil, I knew all of this; it comes up during every project; yet I still flipped left and right to make it work because that is what I had to do. I believe there was and possibly still is a series of calls one can do with X-11 based libraries to determine if this problem exists on the target. Didn't dig into that either. -- Roland Hughes, President Logikal Solutions (630)-205-1593 (cell) https://theminimumyouneedtoknow.com https://infiniteexposure.net https://johnsmith-book.com -- You received this message because you are subscribed to the Google Groups "scintilla-interest" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/scintilla-interest/85f1033b-6cf3-43a7-a5ff-72d7c5e799cf%40logikalsolutions.com.