45

I have Ubuntu 17.10 with GNOME 3.

What happens:
I have (for example) LibreOffice Calc open, with some data columns in it. I highlight the columns I want to chart, then I select INSERT > CHART. The chart child window dialog pops up on top of my data, so I want to move it to the side.

When I grab the top bar and move it, the parent (spreadsheet) window minimizes (I think it actually disappears). Continuing the above example, if I click FINISH on the chart window, I can then see the minimized spreadsheet application, which is the window title bar plus the menu bar just below it.

This seems like really odd behaviour and certainly falls under the category of "not being useful to the user", since the whole idea of moving the child window in the first place was just to be able to better see the spreadsheet!

In other applications, for example the PDF viewer, a slightly different problem occurs. When I try to move the child window (for example the print dialog) the parent does not minimize but instead follows the child window around. This is less surprising than having the parent disappear entirely but equally useless in terms of allowing the user to see the information present in the parent window.

Update 2017/11/06

Pomsky's answer below fixes the problem, but leaves me wondering why the window manager is making the decision that all child windows have modal behaviour (or don't), and not the applications themselves; and further, why modal behaviour prevents moving the child screen around when it obscures useful info on the parent screen. Neither of these seem like good design to me...

1
50

It can be done using '(GNOME) Tweaks' (previously known as '(GNOME) Tweak Tool'). There should be a toggle button for "Attach Modal Dialogues" in the Windows section. Disable it.
enter image description here

To install Tweaks, run

sudo apt install gnome-tweaks

(or sudo apt install gnome-tweak-tool).


Alternative solution:

Open Terminal and run

gsettings set org.gnome.shell.overrides attach-modal-dialogs false

This detaches modal dialogues from the parent window and hence should fix your problem.

If this doesn't work you need to toggle another gsettings/dconf key following OP's answer or use (GNOME) Tweaks as mentioned above.

2
  • 4
    The "Tweaks" solution does work. But the other option "gsetting [...] false" doesn't work: there is a feature in Inkscape to "Live preview" the changes you want to make, and, when checked, the window comes back to being attached, even with the gsettings set to false. – Aurelien Mar 26 '18 at 13:55
  • 2
    The Gnome Tweaks tool works, cmd does not. – Felix Dombek May 29 '19 at 10:48
3

Thanks to pomsky's suggestion above, which doesn't quite do the job but led me to the switch I needed.

I used dconf-editor to turn off /org/gnome/mutter/attach-modal-dialogs.

For what its worth the minimizing of the libreoffice spreadsheet appears to have been a side-effect of the parent window being maximized.

Update

Pomsky's suggestion of using the tweak tool is much better than using dconf-editor.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.