linphone-desktop/linphone-app/ui/modules/Common/Window/Window.js
Julien Wadel bd6055227f Fix : invisible window when receiving call
- Process GUI events before accepting a call in order to be synchronized with Call objects
- Revert window variable naming
- Change open window order when receive call

Fix : Show Notifications while in fullscreen
Fix : show settings in fullscreen

QuickFix:
- Set Minimum Width on Tooltips
- Show full path on log folder selection
- Add Conference participant filter to show only users that are in conference
- Add test on Player to avoid crash if it cannot be instanciated before
- Window position when opening in fullscreen
2020-06-01 15:59:39 +02:00

46 lines
1.7 KiB
JavaScript

/*
* Copyright (c) 2010-2020 Belledonne Communications SARL.
*
* This file is part of linphone-desktop
* (see https://www.linphone.org).
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
// =============================================================================
// Windows (qml) Logic.
// =============================================================================
.import 'qrc:/ui/scripts/Utils/utils.js' as Utils
// =============================================================================
// Create a dynamic component hover the main content of one window.
// The object parameter must have a `exitStatus` signal which is used
// at item destruction.
//
// The exit status handler is optional.
function attachVirtualWindow (component, properties, exitStatusHandler) {
if (virtualWindow.active){//already loaded
return
}
virtualWindow.setContent(component, properties, exitStatusHandler)
window.attachedVirtualWindow()
}
function detachVirtualWindow () {
if( virtualWindow.active){
virtualWindow.unsetContent()
window.detachedVirtualWindow()
}
}