olivierkes / manuskript

A open-source tool for writers
http://www.theologeek.ch/manuskript
GNU General Public License v3.0
1.75k stars 230 forks source link

LinuxMint Cinnamon - No way to quit Settings - Missing window bar with close "X" button - Use Alt+F4 #464

Closed mikkovedru closed 5 years ago

mikkovedru commented 5 years ago

Loading settings works fine, but there is no way to quit them:

The only way to quit is to close the whole program and start it again.

All three of the mentioned ways should work - at the very least pressing Esc and having a button.

gedakc commented 5 years ago

What Operating System (OS) and screen resolution are you using, and which version of Manuskript?

The Settings window should have the normal [Minimize], [Maximize], and [Close] buttons that are standard with the OS.

The following screen shot from Kubuntu 16.04 LTS shows these buttons in the upper right hand corner of the window. The [Close] button is the "X".

manuskript-settings

Additionally many OSes include a keyboard shortcut to close a window. On Kubuntu the key combination is Alt+F4 to close a window.

mikkovedru commented 5 years ago

Linux Mint 19.1 Cinnamon. Manuskript 0.8.0.

Software Versions in Use: Python 3.6.7 PyQt 5.10.1 Qt 5.9.5

image

image

gedakc commented 5 years ago

The screen shot definitely shows that the normal window buttons are missing. I've never used the Cinnamon window manager before. I suspect there is some incompatibility between it and Manuskript.

Does the main Manuskript window have a [Close] button?

Does the keyboard shortcut Alt+F4 close the Settings window?

mikkovedru commented 5 years ago

Does the main Manuskript window have a [Close] button?

Yes. It has all the main buttons and they all work totally fine.

Does the keyboard shortcut Alt+F4 close the Settings window?

Yes.

gedakc commented 5 years ago

From some Internet searches it appears that the Window decorations (I assume this includes the window bar, title, and buttons) can be disabled in Cinnamon. See Linux Mint Cinnamon - GUI option to remove window decorations?

Can you check to see if you have such an option and if so try enabling Window decorations?

gedakc commented 5 years ago

'Just came across an older reference to this issue that might be applicable.
See Linux Mint - Window borders and maximize/minimize buttons missing.

mikkovedru commented 5 years ago

From some Internet searches it appears that the Window decorations (I assume this includes the window bar, title, and buttons) can be disabled in Cinnamon. See Linux Mint Cinnamon - GUI option to remove window decorations?

Can you check to see if you have such an option and if so try enabling Window decorations?

I use only 2 extensions: Coverflow Alt-Tab and Desktop Scroller (switch between desktop by scrolling at the edges of the screen).

The other link is very old and not applicable to current Cinnamon.

Here are my Windows settings - I don't think there is anything weird in here. image image image

Now that I think of it, I do remember encountering the same kind of problem (no closing buttons for the internal window) with at least one other program. At that time I though of it as a typical Linux weirdness (and assumed either a bug or bad UI/product skills of the programmers), but didn't report it. Too bad I can't remember what program that was. :-(

gedakc commented 5 years ago

This is strange behaviour indeed. I've never seen the missing windows decorations before, and I've tested Manuskript on MS Windows XP, 7, 10, and on Ubuntu 14.04, 16.04 and 18.04 with GNOME and KDE, and on Debian 8 and 9 with XFCE, and on Fedora 28 and 29 with GNOME.

As best I can tell this problem is specific to Linux Mint Cinnamon. I'm downloading the ISO now to see if the problem occurs in a VM.

gedakc commented 5 years ago

I just tested Linux Mint 19 Cinnamon in a Virtual Machine and the Settings window does have a close "X" button as shown in the following screen shot.

linuxmint19cinnamon-settings-with-close-button

Hence the issue does appear to be specific to the configuration on your computer.

I will update the title of this issue and label it as a question. That way others can more easily find this issue.

mikkovedru commented 5 years ago

Thank you for spending time investigating this issue!

You installed version 19, while I was having problems with the version 19.1...

But I did download version 19.1 and installed it in my VM. And yeah, Manuskript works in version 19.1 as well.

So I started to investigate, started comparing all the system settings and changing them. And I found the problem!

The problem was located in System Settings / Themes. There are a bunch of settings for the style of OS ("Window borders", "Icons", "Controls", etc). Since I have been having my system from 2014, and always upgrading to a newer version (never a clean install), there were apparently some residues (I think it was the theme with increased contrast in the "Window borders" sub-setting) that caused this issue. Changing it to a new one completely solved the issue.

Thank you for being a great help!

I hope this topic will help other people with the same problem.

gedakc commented 5 years ago

Thanks @mikkovedru for reporting back with how you resolved the issue.