Skip to content
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

floating dock widgets get into unclosable state #467

Open
GitMensch opened this issue Feb 26, 2023 · 10 comments
Open

floating dock widgets get into unclosable state #467

GitMensch opened this issue Feb 26, 2023 · 10 comments

Comments

@GitMensch
Copy link
Contributor

The main reason for this question: I've moved out the disassembly view to increase it - and for some reason it does not respond at all afterwards.
(Side question: Can anyone reproduce that?)

So: How to reset the disassembly view (or all views)?

@milianw
Copy link
Member

milianw commented Feb 26, 2023

what do you mean exactly, I don't follow - can you show a screenshot and add more context to better describe the issue you are having?

@GitMensch
Copy link
Contributor Author

This is what Hotspot currently looks like on this machine:

sample

I can click the two views that were moved to a separate windows and get them the focus, but neither resizing nor moving, nor close works - and I can't scroll anymore in them.

Therefore - separate from the underlying problem - I'd like to reset all views so they are "contained" in the main window again.
I've looked for a "reset views/windows" command in the View or Windows menu but did not found any.

@milianw
Copy link
Member

milianw commented Feb 27, 2023

we have no such option yet, might be a good idea to bring it back. and to double check - clicking on the x buttons doesn't do anything? what happens if you double-click on the titles, that should dock the floating dock widget again?

generally though that config is stored somewhere in ~/.config/hotspotrc I believe, try to nuke that file and see if it fixes the immediate issue.

then explain how you got into that state in the first place and we can try to reproduce and fix the issue(s)

@GitMensch
Copy link
Contributor Author

Neither double-click on the title nor the close button works at all.
Deleting ~/.config/hotspotrc did the trick!

Then just moving any view out of the window by click+drag gets me back to this state on this machine :-/ but as deleting the config works here...

The original question is answered, should we close it or change the title and track a feature-request for a menu option to reset the views/windows here?

@milianw milianw changed the title How can I reset the views? floating dock widgets get into unclosable state Feb 27, 2023
@milianw
Copy link
Member

milianw commented Feb 27, 2023

let's keep it here, no need for a new task

@milianw
Copy link
Member

milianw commented Mar 6, 2023

I just tried and I can easily close a floating dock widget, I don't understand why that wouldn't work for you. Can you try and see if that also happens on KDE plasma, or whether it's a gnome specific issue (or what window manager do you use?)

Or do you use wayland? Maybe that's the culprit here?

@GitMensch
Copy link
Contributor Author

It is Wayland via X11-Server redirected... It seems that nearly everything works, but the KDDockWidgets.
KDE in general works fine, at least when checking the "normal" windows (settings, file open/save, ... in Hotspot and KCachegind - possibly the only other KDE based app used on that machine - in any place).

@milianw
Copy link
Member

milianw commented Mar 6, 2023

what does "wayland via x11-server redirected" mean? xwayland? what display manager?

@GitMensch
Copy link
Contributor Author

GitMensch commented Mar 6, 2023

Correction: if I set QT_QPA_PLATFORM=banana I get an error message telling me only xcb is available. If I do that the same and call kcachgegrind I get

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.

... so: Is this an issue with the appimage? Could there be added support for more platform plugins?

@milianw
Copy link
Member

milianw commented Mar 7, 2023

yes, could be that this is the issue, unsure when I'll find the time to investigate this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants