-
Notifications
You must be signed in to change notification settings - Fork 43
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
QT issues including domterm: unrecognized option '--qtdomterm' #113
Comments
Another issue is that copy and paste with the mouse doesn't seem to work any more. (I have built with libclipboard). |
Sorry about changing the option names. I decided to change the browser-specifier options to work a little differently, starting with I specificlly changed the Qt-based options because the A related problem is not having a good platform to announce changes and new features. There is a domterm mailing list. If I though anybody was reading it, I could use that. I could also set up some discussion/forum site, but I have little experience with managing such forums - or even monitoring one on a regular basis. I'm an old email guy, and I don't have the experience or habits to switch. (Partly because there are just too many options. Discourse is one but there are too many others.) |
I might have a fix for the copy-and-paste problem. It is mixed up with some other changes I'm working on, specifically zooming. I'll see if I can get it checked in sooner rather than later. |
@PerBothner No problem. Would it be possible to make the command I look forward to your copy paste fix. |
I thought you meant using --qtdomterm on the command-line, manually. I checked in a fix which I hope should work. (Not copy/paste yet, though.) |
@PerBothner Great thanks, the fix worked for On the copy paste, it works when using the keyboard (CTRL-SHIFT-C, CTRL-SHIFT-V), just not when selecting copy or paste in the menu that appears when you right click. |
I checked in a fix for copy/paste - I hope. libclipboard may not be needed any more. I built DomTerm without libclipboard and the cases I tried all seem to work. Note the change I checked in is part of a larger change in setting the correct "context" (child or parent frame) so I might easily have broken something. So let me know if you notice anything. |
@PerBothner Thanks. The fix worked. The only issue is that after right click pasting the top menu bar seems to be activated (so using arrow keys for example doesn't work until I left click in the window): |
I've seen that sometimes, but I haven't yet figured out a pattern so I can reproduce it reliably. |
@PerBothner Does using the mouse to copy paste make it happen for you? |
"Does using the mouse to copy paste make it happen for you?" No, I can't make it happen. Could you give me your |
I use Details of my versions:
My settings.ini:
I'm using bash-it with theme brainy which is a two line prompt. |
I'm still not able to reproduce it - though (as mentioned) I have seen the behavior before. I'm using the same version of Qt as you. I think it is almost certainly an outline that the browser adds to highlight the focused element. See here. See this rule in hlib/domterm-default.css to disable focus outline for the caret:
It should be possible to disable what you're seeing with a CSS rule like:
You may have to experiment to find the correct CSS selector. If might be easier in Electron or another front-end, at least to inspect the node tree. To inspect elements in Qt you have to use the --remove-debugging-port option - but it has some weird interactions. Arguably, the underlying "bug" is why is the menubar getting focus in the first place? Unfortunately, focus is very tricky and hard to debug. Focus interacts with the selection and caret in ways that are unclear and not well-documented. |
@PerBothner I downgraded to this version of DomTerm and it doesn't have the issue in case that helps with debugging: https://github.com/PerBothner/DomTerm/releases/tag/2.9.4 I have to admit that I prefer the appearance of the older version althouh I can see that some may prefer the compactness of the newer one. |
Version 2.9.4 is way too old to be helpful with debugging (I believe it predates the custom titlebar, at least with menu embedding), especially if I can't reproduce the problem. Did you try adding this to
If that doesn't work, try:
You can force the system titlebar with the |
@PerBothner I searched for EDIT: ah got it, it is |
@PerBothner |
@PerBothner With |
Copy/paste seems to be working again when using |
@PerBothner I can confirm it works. Thanks a lot! The issue with focus doesn't happen if I have a title bar. In answer to your earlier questions about dark mode settings, this setup for dark mode works well for me:
Improvements I can think of to the dark mode are:
I'm not sure if any of those are currently possible or require coding. |
I'd like to move discussion of dark mode styling to a separate issue: #114 |
I upgraded to Mint 21 and had to rebuild DomTerm so I pulled latest. I am using the version of QT5 that comes with Mint 21. On running with
qtdomterm
, I get:domterm: unrecognized option '--qtdomterm'
.domterm --qt
works though.The text was updated successfully, but these errors were encountered: