-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[0.5 Release] Requested and Indev Features #34
Comments
@imthenachoman feel free to comment here! |
Preview of entries 2 and 3: vokoscreenNG-2024-01-23_17-48-46.webm |
I freaking love this. Thank you! |
Window tile shortcuts preview vokoscreenNG-2024-01-25_16-22-42.webm |
This looks great! Do the shortcuts only work when Exquisite is active? Meaning if the shortcuts are also used in other apps, it won't be an issue, right? And can the shortcuts be anything like a letter, number, a combination? |
The shortcuts only work when Exquisite is active, so you have to activate Exquisite first and then use the shortcuts. This is a limitation of KWin, the API doesn't allow for custom global shortcuts sadly. But it shouldn't be too big of an issue if you bind Exquisite to something easy to reach (say Shift+A), that way you can quickly toggle Exquisite, select windows, press a few tile shortcuts and ESC out. Certainly a bit more cumbersome than just pressing the shortcuts directly though, yeah. Shortcuts (for now) can have one modifier (Ctrl, Shift, Alt, Meta) or none and can have one key (any keyboard key defined by Qt). I can implement modifier and key combinations if you want. |
Awesome!
Awesome. That works. I like the idea of a single letter so it's easy and fast. Open Exquisite, press a keyboard letter, and done. |
@imthenachoman I will do a final release next week but if you want to test the requested features early you can install https://github.com/qewer33/Exquisite/raw/main/exquisite.kwinscript and run |
@qewer33 I would be happy to do any testing you wanted on multi-monitor support. Though, I do have to say, working on kwin scripts is rapidly convincing me to spin up a VM. |
I may have a PR that addresses this in a few days. It's mostly written, and it has been tested a bit, but it needs more testing and another look through while I commit the pieces, and I have a few distractions at the moment. (It's actually about an entirely unrelated feature, but one that really breaks with multiple monitors. I think I ended up fixing a few different things once I got a VM setup for at least the single monitor use cases.) |
#35 addresses the multiple monitors case, along with several other items which I needed to make my setup more 'me' friendly. Right now, my biggest remaining gripe is that under Wayland, we are spamming the logs quite badly with 'This plugin does not support raise()', because that gets printed every single time we call raise. I would happily make a wrapper function that only called raise if we were in a X11 session... Except I can't find a way to detect Wayland vs X11 in a kwin script. |
Woah, @zelch thanks a lot for the PR! I'll try to review it in my spare time |
This can probably be implemented with a data source and a shell script. Take a look how the "Restart KWin" button is implemented. |
@qewer33 Curious when you plan on doing final release for this to prod? |
@imthenachoman currently trying to port Exquisite to Plasma 6, it's proving to be somewhat difficult. But thank you for the reminder I'll update the Plasma 5 package in the store |
Any luck on pushing the new version to the store? |
Pushed! |
I am getting flickering when I activate it. Any idea what might be causing it? |
Flickering? Does it not open? Or is it a visual glitch? A video and/or kwin log (when run via terminal with kwin_x11 --replace) would be very helpful. |
And is the flickering on Wayland or X11? |
I'm on Wayland. When I open Exquisite, the entire screen flickers. Let me see if I can get a video. |
Couldn't get screen recorder working. Took a video from phone. https://drive.google.com/file/d/1p-HryWsZHshvPJzu9TQ40iQ3NFC7en1b/view?usp=sharing |
Super weird. I can't seem to reproduce it on Fedora 38 Wayland. @zelch can you also try? |
It could be something up with my computer. I will do some more research/debugging. |
Alright... What video card are you using, and what driver version? I'm going to take a wild guess that you're on an nVidia card, and that the driver version is going to be significant. |
So the flickering doesn't happen in X11 and all the Debian experts are telling me I should stick with X11 for Debian stable with KDE. So I suppose I will do that. |
@qewer33 Love the changes. I think I see two bugs:
Minor issue but wanted to report. Great work with this. Very happy! |
Thanks and I'm really glad you're enjoying it @imthenachoman ! And sorry for the late release. I thought you were already using the unreleased package and my intention was to release the Plasma 5 version together with a Plasma 6 port but that's going to take a bit longer anyway 😅 |
@qewer33 No issues at all. This is my main production daily driver so I try to only run things the official/right way. I don't have time to muck with things breaking. |
I prefer names on top, you prefer names on bottom, and the code for the configuration option already exists. :) That said, I do think that an option to hide them entirely would make sense, and in that case, what we want is an option to select top/bottom/none, I can take a look at implementing that sometime here if you're interested.
I have not, I'm on Debian unstable, and Plasma 6 likely won't get packaged until the 6.1 release, or at least the beta for it. The beta release is scheduled for the 23rd of this month, and the 6.1.0 release is scheduled for 2024-06-18, so exactly a month from now. I expect that I'll be porting everything that I'm currently using over as soon as that happens. :) |
@qewer33 Alright, I've done a quick implementation of making it a drop down, but I wonder if you have any preferences on the appearance in the configuration menu. |
I have a better idea, I'll implement it. Edit: Implemented |
As an aside, I think we can now check off multi-monitor support, as the |
I have a second Debian box now. I use it for testing stuff. I'm happy to user/pressure test your commits if you can tell me how to install them. |
I know y'all are working on bug fixes but anyway you could tell me what lines to fix to make it auto hide after using a keyboard shortcut? |
@imthenachoman In the settings screen, select the Behavior tab, and check 'Hide after tiling a window'. |
@zelch I have that enabled. The bug is that when you tile a window using the keyboard shortcut, it does not hide. It only hides when you click. I was hoping for a quick fix for that? Something I could just update in the code in my installation? |
@imthenachoman ... I already fixed that bug, and the fix is in the most recent release. Can you test again with the current version and confirm that it's still not working? If so, please enable the debug logging option under behavior, apply, then bring up the tile dialog, tile a window with the shortcut, manually close said dialog, and attach the resulting kwin logs. |
Alright, you're definitely not running the current version. If you start up Discover, then under Update (bottom left of the window) you should have the option to update kwin extensions, including Exquisite. |
Ah, hrm. @qewer33 Could we get a 0.6 release with the current git head? :) I've got some minor changes I still need to write commit messages for, but nothing even remotely critical. (It's a matter of documentation, and of attempting (and largely failing for Reasons™) to format the case where multiple modifiers are used for a tile shortcut.) |
No need to push a new release on my account. I was just hoping to see the lines changed to fix that bug so I could make them on my end. |
Sorry for the inactivity, finally free from my university exam and got time to work on Exquisite again 😅 @zelch do you have anything commit/PR? If not I'll upload a new release |
Is there anything I can do to get the auto close after keyboard shortcut tiling to work? Right now it will tile when I select the keyboard shortcut, but the Exquisite window stays open. |
@qewer33 I do, but I'm still trying to figure out a UI problem. The easy part is the documentation:
With:
And that actually works today. But what doesn't work is the rendering of the shortcut in the window layout. My first try at fixing that works fine... Except that printing Ctrl+Alt+F1 really doesn't fit in the available space. Rendering that as C+A+F1 would fit better, but would be more ambiguous, and would change the simpler case of things like Alt+F1. Any thoughts? |
@zelch does breaking the text into multiple lines not work? Or maybe we can make it trancunate with ellipsis and show full shortcut text in a tooltip when it's hovered I've picked up trying to port Exquisite to Plasma 6 again but it's proving to be really difficult with the almost non-existent KWin API documentation changelog... |
@qewer33 There's no good way that I can find to break it into multiple lines. The tooltip on hovered sounds like a good plan though. Where are you on the port to Plasma 6? Debian Experimental finally got Plasma 6, so I'm working my way through the widgets and extensions that I'm used to, and Exquisite is next on my list. :) |
It's been a bit since the last update here; how is the Plasma 6 port going? I might take a look into it as I miss Exquisite. |
Yeah uhh I have kinda been stuck... I got it to run without any errors on Plasma 6 but I couldn't get the Exquisite dialog to show no matter what I tried. I will push my changes to a new branch soon. Would appreciate any help! |
Sounds good, let me know whenever you've pushed a branch and I'll take a whack at it! |
I would also love to take a crack at the problem, since it sounds like you're in a decent place progress wise! :) |
@A-Byte-Sized and @zelch I have pushed my changes to the |
Also seems like this issue can be closed. |
I was wondering if there was an update pushed? I'm still having that issue where it does not auto close when using keyboard shortcut. |
Just checking? And does this work on KDE 6 yet? |
Related issues:
#11
#17
#29
#33
The text was updated successfully, but these errors were encountered: