1660 Commits

Author SHA1 Message Date
Matt Gajownik
d442fda3fc UI: Match Windows taskbar state to tray icon
This adds both a status icon, and changes the color
of the taskbar button itself.
2020-05-07 20:05:35 +10:00
Richard Stanway
078ea5222d UI/updater: Fix launching OBS as admin post-update
A long standing lack of synchronization on the elevated process handle
made the non-elevated process always exit, so the updater would assume
it was started elevated and launch OBS from the elevated context.

Also applies the altered working directory to the non-elevated code
path so it can find the OBS executable properly.
2020-05-05 03:18:45 +02:00
jp9000
f4f74f0d4f UI: Remove unused variable
Closes obsproject/obs-studio#2843
2020-05-03 06:22:52 -07:00
Richard Stanway
efc23bb1ee UI: Remove requirement for replay buffer hotkey
Fixes https://github.com/obsproject/obs-studio/issues/2807
2020-04-26 16:56:36 +02:00
Tom Lynch
8109183cd9
UI: Update OSX to macOS in English translation 2020-04-23 23:38:54 +01:00
Warchamp7
e1e7e14dc9 UI: Add white icons for dock titles
- Add pop-out and close svg icons
- Update all dark themes qss with the new icons
2020-04-20 17:07:04 -04:00
Colin Edwards
9447a06b05 Revert "UI: Remove unnecessary global variables"
This reverts commit f91d3baf43e69f6d1922b0e03e043af6de0baf6a.

From @pkv: the reason some of these vars were global is because Qt was not deleting them at all; as a result memory leaks have been reintroduced for: previewProjector, trayMenu, studioProgramProjector, multiviewProjectorMenu ;
2020-04-19 09:31:18 -05:00
Clayton Groeneveld
f91d3baf43 UI: Remove unnecessary global variables 2020-04-18 18:58:45 -05:00
Colin Edwards
55e2985026
Merge pull request #1944 from WizardCM/windows-rc-definition
CMake: Build Windows modules with file descriptors
2020-04-18 18:27:22 -05:00
Colin Edwards
0f10c0811a
Merge pull request #2720 from Bennik2000/status_icons_streaming_recording
UI: Add status icons for recording and streaming
2020-04-18 18:23:32 -05:00
Clayton Groeneveld
f7caa1119c UI: Adjust a few margins
-Remove 9px margins around central widget. This saves 18px of vertical
space. This will be helpful when the source context menu is added,
which is 24px tall.

-Adjusts margins in transitions dock. The top of the transitions dock
wasn't lined up with the top of the controls dock, which made it look
bad.
2020-04-18 17:24:59 -05:00
Colin Edwards
47cfe13be2
Merge pull request #2648 from kkartaltepe/fix-previewlabel-styling
UI: Fix previewLabel styling
2020-04-18 16:32:43 -05:00
Exeldro
029b4d1a05 UI: Remove all scenes in ClearSceneData 2020-04-18 17:08:52 +02:00
Clayton Groeneveld
9316373ef3 UI: Remove first run auto-config prompts 2020-04-18 00:02:26 -05:00
Bennik2000
d8e67d2f3c UI: Add status icons for recording and streaming 2020-04-16 19:15:13 +02:00
Clayton Groeneveld
d3c4991a1b UI: Highlight unknown audio device label in settings 2020-04-14 13:33:36 -05:00
Richard Stanway
a43c10b173 UI: Refuse drop operations from our own widgets
The UI feedback when dropping scene / source items on other parts of the
program indicated that something would happen instead of showing the
"no drop" icon.
2020-04-13 03:07:30 +02:00
Ed Maste
7325eace24 UI: Fix projector on other than primary display
Calling showFullScreen after setGeometry puts the projector on the
expected monitor.  Previously (on FreeBSD, at least) it opened on the
primary display.
2020-04-12 18:43:23 -04:00
Exeldro
792ceb028e UI: sort audio sources by name locale aware 2020-04-12 19:33:02 +02:00
Richard Stanway
25054d233c
Merge pull request #2677 from emaste/warning-fix
UI: Fix warning compiling with Clang 10
2020-04-10 00:39:07 +02:00
Ed Maste
9f4aaf22f0 UI: Fix warning when compiling with Clang 10
Building with Clang 10 on FreeBSD 13-CURRENT emitted a warning about
logical not (!) applying only to the left hand side of a comparison.
Update the expression to match the style of other flags conditionals.
Verified that object code is the same.
2020-04-10 00:37:37 +02:00
Richard Stanway
dca5f2fcdb UI: Properly apply hide cursor on fullscreen projectors
If a projector was created fullscreen, the isFullScreen() call would
fail since the window hasn't been displayed by Qt yet, resulting in the
cursor hiding choice not being applied. This moves the cursor hiding
into the SetMonitor call which is used for all code paths creating a
fullscreen projector, ensuring the setting is applied.

Fixes https://github.com/obsproject/obs-studio/issues/2687
2020-04-10 00:32:09 +02:00
Colin Edwards
da35310363
Merge pull request #2671 from pkviet/logfilter
UI: Log global audio devices and their filters
2020-04-09 01:04:08 -05:00
Colin Edwards
c48c9ed2de
Merge pull request #2537 from WizardCM/studio-program-label
UI: Don't open Studio Mode's "Program" label in a window
2020-04-09 00:46:48 -05:00
Colin Edwards
46c59fb13a
Merge pull request #2639 from WizardCM/no-transform
UI: Require selected source for Transform shortcut
2020-04-09 00:42:37 -05:00
Colin Edwards
276869be33
Merge pull request #2679 from kkartaltepe/ui-include-fix
UI: Fix missing includes
2020-04-09 00:20:47 -05:00
Kurt Kartaltepe
35f9e82956 UI: Fix missing includes
These files appeared to be dependent on their include order and were
missing definitions when files were compiled in a different order.
2020-04-08 17:20:52 -07:00
pkv
92989bd42b UI: Log global audio devices and their filters
Request from support-team.
Currently only sources in Scenes are logged with their filters.
This excludes global audio sources set in Settings > Audio.
This patch remedies this.
2020-04-07 21:33:09 +02:00
Matt Gajownik
9d89de79f9 UI: Add button to Analyzer in the Log Reply window 2020-04-07 20:43:12 +10:00
Matt Gajownik
c7eaee632a UI: Add description to Log Reply window 2020-04-07 20:43:12 +10:00
Matt Gajownik
c878bfcb1f UI: Differentiate between crash & session log dialogs 2020-04-07 20:43:09 +10:00
Matt Gajownik
8f0d2cb890 UI: Hide Help icon in Log Reply window 2020-04-06 21:37:14 +10:00
Hans Petter Selasky
0e4ea14ba1 libobs: Implement and use better scaling function for 64-bit integers
As os_gettime_ns() gets large the current scaling methods, mostly by casting
to uint64_t, may lead to numerical overflows. Sweep the code and use
util_mul_div64() where applicable.

Signed-off-by: Hans Petter Selasky <hps@selasky.org>
2020-04-05 20:27:28 +02:00
Kurt Kartaltepe
14480fe025 UI: Fix previewLabel styling
Label renders with default styling instead of using dynamic property
because it was already polished.
2020-04-04 18:57:31 -07:00
Matt Gajownik
ed8df46a39 UI: Don't stretch server field in Qt 5.14 2020-04-05 11:50:53 +10:00
Matt Gajownik
beb2af9721 UI: Require selected source for Transform shortcut
Fixes #2468
2020-04-04 23:45:14 +11:00
Kurt Kartaltepe
c5b731e48f cmake: Fix warnings and normalize variables/errors
As of 3.17 using find_package_handle_standard_args checks that the name
of the FindXXX file and the first argument are the same case.

Some modules used non-standard variables or the old singular variables
instead of plurals. This normalizes variable usage to the new-style.

Some CMakeLists.txt did custom error checking instead of propagating
find_package errors. These were changes to call find_package with
REQUIRED or without QUIET where needed and shortens the custom status
messages. This helps users who want to enable that functionality see
what precisely wasnt found.
2020-04-03 21:32:10 -07:00
Matt Gajownik
a9a19cf351 UI: Use Qt dialogs for Font & Color Pickers on Linux
This fixes a hang on Ubuntu when closing the
dialogs after leaving them open for a time.
2020-03-28 23:15:25 +11:00
Richard Stanway
f4cf9b3b66
Merge pull request #2580 from jpark37/remux-fix
UI: Fix text handling for dialogs
2020-03-28 01:16:41 +01:00
Vainock
8643a3edf6
UI: Remove language region 2020-03-28 00:53:39 +01:00
jpark37
36e2a9fa33 UI: Fix text handling for dialogs
Signal only needs to be connected once, not every keystroke.

Also commit data only when text widget focus is lost to fix cursor
moving to the end of the string after every keystroke.
2020-03-25 17:13:10 -07:00
Clayton Groeneveld
b3211a99ac UI: Use standard resolutions with auto-config 2020-03-25 02:23:04 -05:00
VodBox
6319973b2f UI: Fix silent scenes with imported SL scenes
Previously, the importer assumed scenes had fields that sources did for
audio, namely volume, sync, mute and monitoring type. SL scenes do not
have these fields. This resulted in mistakes in importing, such as
imported scenes having a volume of 0.0.

This change gets rid of the non-existent fields, and explicitly sets the
volume of the scenes to 1.0 as a precaution.
2020-03-23 23:32:02 +13:00
VodBox
62c7eb489d UI: Set correct window title for fullscreen projector
Before this change, opening up a fullscreen projector would have the
wrong window title (Windowed Projector). This was because the call to
update the window title was called before a monitor is set, and the
title is determined by whether a monitor is set.

This change moves the update title call to after the geometry or monitor
gets set, ensuring the window title is correct.
2020-03-22 22:59:27 +13:00
Matt Gajownik
962ac4abbc UI: Don't clip meters when resizing with no input 2020-03-21 23:25:23 +11:00
Matt Gajownik
a5453f12a0 UI: Don't open Studio Mode's Program label in a window 2020-03-21 22:19:29 +11:00
Matt Gajownik
9fe8ef293f UI: Make links in updater clickable 2020-03-21 15:34:28 +11:00
Jim
6a609676ee
Merge pull request #2524 from kkartaltepe/settings-crash
UI: Fix crash on settings update
2020-03-20 19:03:29 -07:00
Jim
0be6208839
Merge pull request #2523 from jpark37/warnings-20200319
Warning pass 2020-03-19
2020-03-20 19:02:19 -07:00
Jim
413896a227
Merge pull request #2520 from WizardCM/mixrelixr
UI: Add setting for Mixer add-on choice (MixrElixr)
2020-03-20 19:00:56 -07:00