-
- prob.png (27.54 KiB) Viewed 1938 times
I'm hoping this isn't a permanent thing, and is just down to a temporary issue with the ubuntu desktop. I can't put my finger on exactly what is causing it, which is annoying, but the result of my testing seems to be switching desktop-session to almost anything else seems to rectify it. Hopefully it's just a temporary bug, as being community-maintained, I'm sure it'll get spotted and picked up on. The whole xubuntu thing seems very unstable at the moment, as the ubuntu-desktop also kept logging me out and quitting unexpectedly. It's not a distro I would use to showcase the virtues of Linux to anyone at the moment.richmond62 wrote: ↑Mon Dec 30, 2024 3:41 pm I shall disable the check for updates (luckily none of them have been updated for 6 months), and leave them with the Xubuntu they have.
Yes, I'm a huge fan of KDE in general. (see testing screenshots folder). KDE Plasma does benefit from being run on newer hardware, but can have proper rounded corners - depending on theme used.OpenXTalkPaul wrote: ↑Tue Dec 31, 2024 12:26 am KDE Plasma (in Ubuntu Studio). which I believe is built on the Qt UI framework (and not GTK that the LC docs suggest to use), was the most stable I've used...Plasma has become better in that regard than XFCE in recent years.
It's subtle but with some (mac-lookalike) dark mode themes I've seen a hint of the actual window rectangle corners just outside of the rounded corners of the window shape, that could just be a poorly edited theme corner part I suppose.tperry2x wrote: ↑Tue Dec 31, 2024 8:01 amYes, I'm a huge fan of KDE in general. (see testing screenshots folder). KDE Plasma does benefit from being run on newer hardware, but can have proper rounded corners - depending on theme used.OpenXTalkPaul wrote: ↑Tue Dec 31, 2024 12:26 am KDE Plasma (in Ubuntu Studio). which I believe is built on the Qt UI framework (and not GTK that the LC docs suggest to use), was the most stable I've used...Plasma has become better in that regard than XFCE in recent years.
Code: Select all
drawer "revTools"
Code: Select all
set the decorations of window "revTools" to "title,close"
That would be marvellous as it would add to the 'cross-platforminess' of the IDE.we make our IDE palettes NOT have any System window decorations at all, and instead we build our own custom palette frames that are more fully managed by the IDE and not the OS!
I really like the idea of this. Sounds really promising. I'll have to do some experimentation later this eveningOpenXTalkPaul wrote: ↑Tue Dec 31, 2024 8:49 am ...I did some testing with the window focus juggling madness tonight and found a related interesting quirk.
On a whim, from the message box I opened the Tools palette to 'drawer mode':It opens the stack without any Title bar or window frame, and to my surprise it was functional and did NOT constantly try to steal window focus! I could use the Tools palette AND type in the message box with no focus juggling!Code: Select all
drawer "revTools"
'drawer' was just the thing that made me realize that when a window has no frame it is no longer subject to this Window manager's odd behavior. You can do that without the 'drawer' command by setting the window decorations to empty or by using a 'windowShape' (probably).
The message box might be a special case, this may not be a total solution for some windows that need to be in a certain 'editable' mode to work.A couple of issues come up though. The first being that if you drawer the message box, you can still click on it, but it seems to lose focus - you can't run anything you'd typed. I could get around that by including a 'run' button to the right of the single line message box field.
That's the down-side. Window moving and resizing are the sort of thing the system's Window manager normally takes care of automagically. If when we cut the WM out of the picture by removing the window frame, then it's up to us to implement those things. But that is not too difficult to do. In fact for the Playground stack ( Emscripten engine already has no window manager available), I used Bernd Nigermann's 'Yosemite Window Maker' IDE plugin (and then tweak it a little ) to create the 'fake' window frames for the MC palettes that I put in there. I used only the top part of the frame to have something to move the palettes around by.The other issue is that it instantly makes stacks unresizeable, for example, with the "App Browser" I have open in that screenshot, I lose the ability to resize it.
Thirdly, if I drawer the inspector window, that seems to work - but upon clicking on the active user stack, the revInspector is "undrawed" for want of a better word (I assume it's just being reloaded each time) which would make sense as to why it then doesn't have a drawer any more.
Hmm, I only tested doing this with Tools pal, because that seemed to be the biggest offender of the focus stealing, With 'drawer' the window seems to become a always-on-top (systemWindow) window, so there may be a better way to do this than using drawer that does not make the stack window into an always-on-top window. I'm pretty sure that when you remove a window's frame, that is what effectively cuts the System's Window Manager out of the equation. So again, maybe just set the decorations to empty (or use a windowShape).Point 4: With multiple things drawed, the answer and alert dialogs become 'pop-unders' - so that they annoyingly appear underneath other windows.
I was thinking the IDE palettes would have their own, non-platform specific mini-frames, like just a thin bar across the top of the palette for moving and a generic sort of close-window or minimize-window buttons. But now I'm not sure if iconifyStack (minimize window command) works on Linux ( I assumed it did, but it list 'Unix' in the docs.PoInt 5: How do you effectively 'minimise' a window to whatever taskbar/panel/dock you might have, when trying to do it via a button control on the stack? I ask - because we'd need a way to do this when we come to draw our replacement window controls for everything. I'd also like these to pick up on the system theme - but that's easy enough. The IDE can grab snapshots with PNG masks of whatever the controls are at IDE bootup time.
Yes, I'd love that, make the IDE more portable, more fully into a self-contained Virtual Machine. I've said it before and I'll say it again, the xTalk/xCard thing is already much like a high-level abstraction of OS APIs underneath (or even in ROM), the engine is essentially a 'VM'.richmond62 wrote: ↑Tue Dec 31, 2024 9:27 amThat would be marvellous as it would add to the 'cross-platforminess' of the IDE.we make our IDE palettes NOT have any System window decorations at all, and instead we build our own custom palette frames that are more fully managed by the IDE and not the OS!
Were OXT to become an almost self-contained eco-system it might mean increased portability.
Have you tried the LFS (Linux from scratch) information? It's not a quick read, but it is certainly comprehensive.OpenXTalkPaul wrote: ↑Tue Dec 31, 2024 5:11 pm Someday I'm going to spend some time really looking into building a Linux distro from the ground-up.
This is not the case on Linux - the resizeStack message is sent during the resizing, continuously, so that you can indeed trap the message on Linux to prevent the size being stretched past a certain point. (The dictionary entry is incorrect).The resizeStack message is sent after the resizing is finished. This means that you cannot prevent a stack's size from being changed by trapping this message.
Users browsing this forum: No registered users and 5 guests