Mitigated GTK fullscreen bug on Windows
see issue 82
This commit is contained in:
parent
08a7886e27
commit
50aa487f63
@ -38,6 +38,7 @@ EditorPanel::EditorPanel (FilePanel* filePanel)
|
|||||||
epih->pending = 0;
|
epih->pending = 0;
|
||||||
|
|
||||||
processingStartedTime = 0;
|
processingStartedTime = 0;
|
||||||
|
firstProcessingDone = false;
|
||||||
|
|
||||||
// construct toolpanelcoordinator
|
// construct toolpanelcoordinator
|
||||||
tpc = new ToolPanelCoordinator ();
|
tpc = new ToolPanelCoordinator ();
|
||||||
@ -609,6 +610,11 @@ void EditorPanel::refreshProcessingState (bool inProcessingP) {
|
|||||||
// Set progress bar "done"
|
// Set progress bar "done"
|
||||||
s->str = "PROGRESSBAR_READY";
|
s->str = "PROGRESSBAR_READY";
|
||||||
s->val = 1.0;
|
s->val = 1.0;
|
||||||
|
|
||||||
|
#ifdef WIN32
|
||||||
|
if (!firstProcessingDone && (RTWindow*)parent->getIsFullscreen()) { parent->fullscreen(); }
|
||||||
|
#endif
|
||||||
|
firstProcessingDone = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
isProcessing=inProcessingP;
|
isProcessing=inProcessingP;
|
||||||
|
@ -94,6 +94,7 @@ class EditorPanel : public Gtk::VBox,
|
|||||||
BatchToolPanelCoordinator* btpCoordinator;
|
BatchToolPanelCoordinator* btpCoordinator;
|
||||||
FilePanel* fPanel;
|
FilePanel* fPanel;
|
||||||
|
|
||||||
|
bool firstProcessingDone;
|
||||||
|
|
||||||
Thumbnail* openThm; // may get invalid on external delete event
|
Thumbnail* openThm; // may get invalid on external delete event
|
||||||
Glib::ustring fname; // must be safed seperately
|
Glib::ustring fname; // must be safed seperately
|
||||||
|
@ -77,6 +77,8 @@ class RTWindow : public Gtk::Window, public rtengine::ProgressListener{
|
|||||||
void SetMainCurrent();
|
void SetMainCurrent();
|
||||||
void MoveFileBrowserToEditor();
|
void MoveFileBrowserToEditor();
|
||||||
void MoveFileBrowserToMain();
|
void MoveFileBrowserToMain();
|
||||||
|
|
||||||
|
bool getIsFullscreen() { return is_fullscreen; }
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user