Dialogs should open in the center of the openshot window not in the center of the screen
Bug #1131416 reported by
Bodo Bigalk
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenShot Video Editor |
Confirmed
|
Low
|
Unassigned |
Bug Description
If you have two monitors that are registered as one big screen in the system. The openshot dialogs pops up in the center of the screen which meant they are spread over both monitors. Better it would be if dialogs are opened in the center of the openshot window.
OpenShot version 1.4.3
Ubuntu 12.04
Kernel: 3.2.0-38-generic x86_64
Melt: libmlt.so.0.7.7
libmlt.so.4
Changed in openshot: | |
status: | New → Confirmed |
importance: | Undecided → Low |
To post a comment you must log in.
So I am looking into this bug to learn about openshot source code and so far I have realized that: set_transient_ for(parent) " which can modify the parent window. ject.get_ transient_ for()" is None in "openshot/ windows/ NewProject. py" when you run it the "__init__" method in calss "frmNewProject" set_position( gtk.WIN_ POS_CENTER_ ON_PARENT)
- The default position for new windows are center of the parent window, am I right?
- There is a method named "gtk.Window.
- so all we need to do is to set parent window of each new window correctly and they will be positioned correctly.
-- for example the result of "self.frmNewPro
- if that doesn't fix it then we can call this function after its parent have been set.
-- gtk.Window.
So my question is how can we find the parent window? I mean I know that the parent window of New Project is the Main Window but is the main window available in code so I can set the parent of New Project window correctly?
Let me know what do you think please.