Integration with window tiling (on Linux)
I use a tiling window manager on Linux (Pop!_OS distro). The tiling manager can be seen here: https://github.com/pop-os/shell. Essentially a window tiling is a UI that automatically places and sizes windows for you to make efficient use of screen space.
When I use zotero, the pop-ups from the word processor plugin (libreoffice) to insert citations are interpreted as standard windows. This has the undesirable effect of resizing my word processor and the popup to each take up half the screen.
According to this forum post (https://github.com/pop-os/shell/issues/473#issuecomment-668062444):
"Pop Shell already checks the WM type of every window when deciding between what should or shouldn't be tiled. So if there are any windows which are getting tiled, it's because they aren't properly defining themselves as dialogs or popups. ...for example, is a floating window that never gets tiled because it declares itself as a dialog."
This makes me think that the integration problem is probably best solved on the zotero end, rather than the window manager.
So, my questions are:
1: Am I correct in thinking that the poor integration is due to zotero not declaring these windows as popups to the WM?
2: Is it possible for a user to somehow to change zotero so that it correctly declares these windows as popups?
3: Is this a feature request that could be implemented in future versions?
Thanks
When I use zotero, the pop-ups from the word processor plugin (libreoffice) to insert citations are interpreted as standard windows. This has the undesirable effect of resizing my word processor and the popup to each take up half the screen.
According to this forum post (https://github.com/pop-os/shell/issues/473#issuecomment-668062444):
"Pop Shell already checks the WM type of every window when deciding between what should or shouldn't be tiled. So if there are any windows which are getting tiled, it's because they aren't properly defining themselves as dialogs or popups. ...for example, is a floating window that never gets tiled because it declares itself as a dialog."
This makes me think that the integration problem is probably best solved on the zotero end, rather than the window manager.
So, my questions are:
1: Am I correct in thinking that the poor integration is due to zotero not declaring these windows as popups to the WM?
2: Is it possible for a user to somehow to change zotero so that it correctly declares these windows as popups?
3: Is this a feature request that could be implemented in future versions?
Thanks
dialog=no
is used in the integration code:https://github.com/zotero/zotero/blob/e9473caa148c967bc15a1067041ddb306586d723/chrome/content/zotero/xpcom/integration.js#L332-L333
https://github.com/zotero/zotero/blob/e9473caa148c967bc15a1067041ddb306586d723/chrome/content/zotero/xpcom/integration.js#L3075-L3076