Conversation
|
As far as i can see this does not support animations. Are you still behind this? If not, i will give it a try. |
|
ftr, this feature would improve my workflow a bunch. |
Tilda can now be configured to appear on whichever monitor the mouse cursor is currently located. This option is disabled by default.
1894fd0 to
f8e4410
Compare
|
What is the status of this patch? |
|
hey @lanoxx, Is there anything I can do to bring this feature in? Also: I would be very happy to see a new release as the last one happend almost 2 years ago. |
|
Next release should happen early Feb. just in time before the Ubuntu 20.04 freeze. I will try to take a look at this patch before the release. |
|
I spend quite some time to look at this patch today. I have rebased it and you can find it in the branch |
If I get your right something like a MonitorController could help here right? To hide the assumed logic and the change of state within a controlled space. yay? nay? Otherwise I would try to be brave, polish my C-skills and try to bring up an approach. (Which could take some time because I have not written C for almost 8 years 😅 ) Of course only if @weyfonk won't be faster |
|
For the 1.5 release thats not needed, if anyone can test my branch and confirm that it works for you as expected, then I am willing to merge it. For the next release the code will certainly have to be cleaned up. The tilda_window should probably cache a few values and use them for its computations, rather then fetching all values from the config system each time. In the future we probably want a separation of the configuration mechanism. Currently we have If you want to work on something feel free to ask me in an issue or open a pull request. I am happy to help if there are questions on the code. |
|
Did you have time to test the code? |
|
I will try to test it the next days. Will write here afterwards 😊 |
|
That would be great. I want to release tilda 1.5 on Friday if possible. If I get feedback before that and there are no major issues I can include it in the release. |
|
hey @lanoxx, tested it with this settings: Unfortunatelly its not working 😒 (Would send you a screen record, but my employer wants me to use Centos 8 as workstation, therefore my repositories are a bit "empty". Sry) I opened tilda and tried several times to open close it via F1 button, but Tilda does not care where the mouse is. It only show up on the main screen. I think its better to skip it for v1.5 |
|
@byteSamurai are few questions:
|
|
It looks like the centered horizontally option is the problem. Please disable that and try again. I will check how I can resolve that. |
|
My fault and both correct: Xorg with Gnome 3. Almost default CentOS 8 Installation |
|
Getting this feature right with all the different config options that tilda supports is actually quite tricky. For example, we need to consider the "Non-Focus Terminal Behavior" option, the monitor size updates, the fact that the monitor where the mouse is on might have a different size than the monitor where the tilda window was before, just to name a few. With a fullsize window (both height and width set to 100%) and two equally sized monitors the feature works reasonably well for me. But getting all those edge cases right is a bit more work. |
|
Any news on this? |
|
Unfortunately I have not had time to work on this. I started with a few changes on a separate branch to make the config system more flexible, but its not yet in a state where I am happy with the result. That would be a prerequisite to continue on this feature. |
|
I am not using Linux anymore: Started my PhD in a big concern. MacOS is the next best thing I can use at the moment. Sorry 😢 |
|
No worries. Good luck with your Phd. |

This is a possible solution for #219.
It is obviously not ideal, as it uses deprecated functions (
gdk_display_get_device_manager()andgdk_device_manager_get_client_pointer()) so if someone knows of a possible better solution, please let me know and I'll gladly improve this code.