1573 Commits

Author SHA1 Message Date
Clayton Groeneveld
fd0872d630 UI: Fix memory leak when dropping files
This fixes a memory leak when dropping files when the name
is the same as other sources.
2020-09-02 15:08:32 -05:00
Jim
f9d664302e
Merge pull request #3349 from WizardCM/fix-settings-tab-order
UI: Add missing tab stop fields in Settings
2020-08-27 06:31:25 -07:00
Jim
6999f6a4bd
Merge pull request #3344 from admshao/fix-compiling-warnings
Fix compiling warnings
2020-08-27 05:14:58 -07:00
Matt Gajownik
1f1e0ceb47 UI: Add missing tab stop fields in Settings 2020-08-27 21:17:35 +10:00
Shaolin
5ff82bb9fe UI: Fix compile warnings about deprecated QT usage 2020-08-26 23:20:23 -03:00
Jim
afb6e8acb6
Merge pull request #3343 from cg2121/output-source-delete
UI: Fix output channels not being deleted
2020-08-26 01:13:09 -07:00
Jim
7b43e2072a
Merge pull request #3342 from RytoEX/disable-rename-shortcuts-while-editing
UI: Disable scene rename shortcut key while renaming
2020-08-26 01:12:40 -07:00
Jim
466e5f6a6d
Merge pull request #3339 from Programatic/tray_fix
UI: Fix tray icon appearing when disabled in settings
2020-08-26 00:07:56 -07:00
Jim
d0db1a6eea
Merge pull request #3333 from WizardCM/aap-percent-left
UI: Align Advanced Audio Percent toggle to Volume text
2020-08-26 00:06:53 -07:00
Jim
e4e78db7a8
Merge pull request #3332 from WizardCM/log-focus
UI / Log Viewer: Bring to front rather than close, add minimize/maximize buttons
2020-08-26 00:06:29 -07:00
Clayton Groeneveld
08426c8710 UI: Fix output channels not being deleted
Output channel 6 was not being deleted, so use for loop
to delete all possible channels.
2020-08-25 23:19:10 -05:00
Ryan Foster
9cb36f803f UI: Disable scene rename shortcut key while renaming
While editing a scene name, the Qt shortcut key for the renameScene
action remained active. If the user pressed the shortcut key while
actively editing a scene name, the widget would retrigger the action,
causing the name edit to fail and discard the current changes to the
scene name. The scene name would be reset to its previous saved value
and reselected as if the user had pressed the shortcut key for the first
time.

This commit removes the QAction associated with the shortcut key from
the scenes dock widget when editing starts and adds the action back to
the widget once editing is done.

Fixes #3044.
2020-08-25 22:33:23 -04:00
Ford Smith
45c46fe24a UI: Fix tray icon appearing when disabled in settings 2020-08-25 18:12:23 -05:00
jp9000
3cd925da73 UI: Remove unnecessary obs_properties_apply_settings
This is already called by obs_source_properties internally, so this call
was unnecessary.
2020-08-25 10:04:29 -07:00
jp9000
fcf01304d2 UI: Defer device properties to separate thread
Because devices can take significant time to enumerate, defer the
properties creation to a separate thread.  The author of this commit
feels a great amount of displeasure over having to write this.
2020-08-25 08:21:29 -07:00
jp9000
ab2f3edb2b UI: Put context combo box operations in functions
This allows the ability to use these functions elsewhere without having
to duplicate the code or subclass from the ComboSelectToolbar class.
2020-08-25 08:21:20 -07:00
jp9000
a4535915fe UI: Make image source toolbar expand
The entire image source file couldn't be seen in some cases, so just
make it take up the full width
2020-08-25 00:46:33 -07:00
jp9000
1a7a47dd3b UI: Disable properties button if no properties 2020-08-25 00:46:33 -07:00
jp9000
b4443ea5ef UI: Remove null source warnings 2020-08-25 00:46:33 -07:00
jp9000
68dcee824e UI: Clear context bar on scene collection change
Fixes a bug where the source toolbar would show the previously selected
source from the prior scene collection when changing to a new scene
collection
2020-08-25 00:46:02 -07:00
Matt Gajownik
ef5bb70db0 UI: Align Advanced Audio Percent toggle to Volume text
Due to the placement of addStretch(), the checkbox was being
attached to the Mono label when resizing the dialog.
2020-08-25 16:30:49 +10:00
Matt Gajownik
a4e1049e67 UI: Add maximize and minimize support to Log Viewer 2020-08-25 14:30:21 +10:00
Matt Gajownik
fca5e45f22 UI: Bring Log Viewer to front instead of closing
This changes the "View Current Log" option in the
Help menu from a toggle to always open the log viewer,
and bring it to the front when it's already open.
2020-08-25 14:09:25 +10:00
Matt Gajownik
f72fa22858 UI: Don't open second dialog if close event is ignored
Affects Interact, Filter and Property dialogs.
2020-08-24 22:29:47 +10:00
Clayton Groeneveld
1eba0827b7 UI: Fix projector not working on secondary monitors
This fixes a bug where the projector wouldn't work on secondary
monitors on Windows.
2020-08-24 02:02:07 -05:00
Clayton Groeneveld
227f80ac48 UI: Fix always on top w/ projectors on Linux
Apparently, on Linux, you cannot update the window flags while it is
still open, so just close the projectors and reopen them again when the
setting changes.
2020-08-23 10:36:06 -07:00
Clayton Groeneveld
27f913843a UI: Add OBSBasic::ClearProjectors()
Allows the ability to clear projectors via a function rather than have
to manually iterate any time one needs to clear the projectors
2020-08-23 10:36:06 -07:00
Jim
52a0a199d6
Merge pull request #3313 from cg2121/transition-fix
UI: Fix transition enumeration
2020-08-23 10:35:53 -07:00
Clayton Groeneveld
b9b990a35a UI: Fix transition enumeration
Fixes issue where sometimes the transition loop would return a null
transition.
2020-08-23 09:47:52 -07:00
Matt Gajownik
ff23eb4a24 UI: Change cursor when interacting with the preview
Includes move, resize, crop, stretch, box select.
2020-08-23 06:26:56 -07:00
Clayton Groeneveld
e60edf53d5 UI: Fix hotkeys auto repeating 2020-08-23 04:15:44 -05:00
Jim
fbb419f40d
Merge pull request #3283 from JohannMG/fb-cdn-streamkey-btn
UI: Show "Get Stream Key" to users of Facebook CDN
2020-08-22 09:46:54 -07:00
Jim
899ffa7f59
Merge pull request #3285 from Scrxtchy/hotkey-source-check
UI: Do not process unnamed sources for hotkeys
2020-08-22 09:02:30 -07:00
Clayton Groeneveld
f580de0bc7 UI: Fix multiview update regression
Fixes bug where multiview won't update when reordering scenes with drag
and drop. Was originally fixed with #2114, but bcddf4d caused a
regression where it didn't work anymore.
2020-08-22 08:37:26 -07:00
Jim
b31f04c92a
Merge pull request #3284 from WizardCM/open-log-button
UI: Provide Open button in the Log Viewer
2020-08-20 11:25:28 -07:00
Scratch
d2532f4640 UI: Do not process unnamed sources for hotkeys 2020-08-20 14:07:43 +10:00
Matt Gajownik
92b1980c0a UI: Render tabs and spaces in Log Viewer 2020-08-20 09:39:05 +10:00
Valentin
81f424d8e1 UI: Change default sample rate to 48 kHz
In a discussion on Discord the consensus was that 48 kHz is a better
default. This was prompted by the merge of the rnnoise library which can
only handle 48 kHz natively. 48 kHz is also more commonly used as a
default on personal computers.
2020-08-19 13:59:57 +02:00
Jim
bd512dae7d
Merge pull request #3268 from obsproject/context-bar
Add Source Toolbar
2020-08-18 12:16:54 -07:00
jp9000
51462e4f0f UI: Fix obsolete filters showing up 2020-08-18 11:09:26 -07:00
Jim
4b2e9e9c96
Merge pull request #3247 from JohannMG/wizard-mac-fix
UI: Mac fix — remove wizard background padding
2020-08-17 09:22:28 -07:00
Colin Edwards
fddbbe259d UI: Source Toolbar
The source toolbar allows quick and easy access to properties and
filers, and shows common properties/features of a source type.  For
example, when you select a media source, VLC source, or the slideshow
source, you'll get media controls to control playback of the media.  If
you select a text source you can edit the font, color, or text if
applicable.  Or if you select a capture source, you can select the
display/window/etc to capture for that source.

If the source toolbar is not desired and is viewed as taking up valuable
space in the window, it can be disabled via the view menu.

Co-authored-by: Clayton Groeneveld <claytong1214@gmail.com>
Co-authored-by: Jim <obs.jim@gmail.com>
2020-08-17 07:18:18 -07:00
Jim
6058b6a87f
Merge pull request #3239 from kkartaltepe/chromeos-pls
UI: Check and fail when launched under ChromeOS
2020-08-15 08:49:05 -07:00
Jim
7667c107ef
Merge pull request #3233 from WizardCM/scripts-context
Add context menu to Scripts list with "Open file location"
2020-08-15 08:48:15 -07:00
Jim
22e6a040ed
Merge pull request #3223 from NiMO-TV/rtmp-nimotv-auto-server
rtmp-services: Add Nimo TV auto server
2020-08-15 08:43:42 -07:00
Matt Gajownik
3e5de93cf3 UI: Provide Open button in the Log Viewer 2020-08-15 15:20:38 +10:00
JohannMG
7f8f3ff3f9 UI:Show "Get Stream Key" to users of Facebook CDN
Facebook provides CDN endpoints for users to optimize their bandwidth or
latency using the speed test on facebook.com/live/ingests/. In this case
streamers use a custom server endpoint that looks like
"rtmps://edgetee-upload-fml.xx.fbcdn.net:443/rtmp/".

This diff adds detection to users using the custom field for CDN
endpoints so we can show the stream key link button.
2020-08-14 17:18:18 -07:00
jp9000
66863269e8 UI: Add missing refresh icon to acri qss file 2020-08-10 12:23:36 -07:00
Jim
a9c65aeabf
Merge pull request #2955 from cg2121/group-signals
UI: Make select/deselect signals work w/ group items
2020-08-08 19:59:13 -07:00
Jim
bfdf5dc947
Merge pull request #2356 from jpark37/sycc-color-space
Color space refinements
2020-08-05 08:58:21 -07:00