3032 Commits
Author SHA1 Message Date
Norihiro KamaeandRyan Foster e4142c8740 UI: Fix crash on patronJsonThread
If a user exit obs while patronJsonThread is running, the thread crashed
with the error below.
  QThread: Destroyed while thread is still running

(cherry picked from commit b21edafe98)
2023-05-26 14:47:09 -04:00
gxalphaandRyan Foster 3f3ff4fd92 UI: Disallow exiting settings with no track in advanced mode
(cherry picked from commit 4b37692939)
2023-05-26 14:47:09 -04:00
gxalphaandRyan Foster 85d22f5ff5 UI: Disallow exiting settings with no track in simple mode
(cherry picked from commit 2bc368349f)
2023-05-26 14:47:09 -04:00
Norihiro KamaeandRyan Foster cc667ad7d9 UI: Fix crash when receiving multiple SIGINT
When there are two or more SIGINT signals were sent to obs, obs crashes
because the 2nd SIGINT calls `close` though the main window has been
deleted.
2023-05-26 14:47:09 -04:00
gxalphaandRyan Foster 2fbd54958d UI: Only defer property updates for input and transition sources
Deferring properties was only ever made for input and transition
sources. As other property dialogs do not have an "Ok" button that would
cause an update to happen, if the deferred flag was set the callback
would never be called.
Also clarifies the docs to reflect this.
2023-05-26 14:47:09 -04:00
Norihiro KamaeandRyan Foster 1c346639ca UI: Fix missing translations
This commit fixes a typo in a translation key, adds two missing
translations, and also removes obsolete translations in the translation
files.
2023-05-26 14:47:09 -04:00
JimandRyan Foster 22e5d98d6e UI: Fix 0,0 size transform bug when resizing sources
Fix a bug where if a source's width or height becomes 0 while you're
stretching the size of a source or modifying it from the transform
dialog, it would become permanently invisible

Closes obsproject/obs-studio#7962
2023-05-26 14:47:09 -04:00
gxalphaandRyan Foster 8b48d8e867 UI: Re-raise missing files dialog on macOS after file is selected 2023-05-26 14:47:09 -04:00
田七不甜andRyan Foster 890f96ed34 UI: Remove tabs for About error statements
And change error statements to translation key
2023-05-26 14:47:09 -04:00
derrodandRyan Foster 10fdafb9f1 UI: Process Qt events once after destroy queue finishes 2023-05-26 14:47:09 -04:00
derrodandRyan Foster c304480f13 UI: Only update vcam output if necessary 2023-05-26 14:47:09 -04:00
derrodandRyan Foster dfc35603cf UI: Reset VCam when clearing scene data 2023-05-26 14:47:09 -04:00
田七不甜andRyan Foster 96db6187ad UI: Fix scene grid mode button color 2023-05-26 14:47:09 -04:00
田七不甜andRyan Foster 6d01b0c635 UI: Normalize theme qss files 2023-05-26 14:47:09 -04:00
Richard StanwayandRyan Foster d2019b92d4 UI: Fix crash when double-clicking projector
If "transition on double click" was enabled, OBS assumed all double
clicks were going to multiview projectors, which isn't necessarily the
case.
2023-05-26 14:47:09 -04:00
derrodandLain e55171f28c UI: Reset service selection to custom if name not found 2023-05-23 04:22:03 -07:00
PatTheMavandJim 229616af16 UI: Fix crash on macOS when closing OAUTH browser panel
Deleting the cefWidget in the panel's destructor can result in a crash
on macOS because the underlying NSView might have been destroyed in
memory between Qt closing the QDialog and the destructor call.

Moving the browser destruction into the accept and reject calls ensures
that CEF can clean up its state _before_ Qt tears down the view
hierarchy.

(cherry picked from commit efbae916fb)
2023-05-08 15:49:34 -07:00
tytan652andJim 40fdec218c UI: Avoid registering CEF OAuth integrations on Wayland
(cherry picked from commit 169cd07c42)
2023-05-08 15:49:34 -07:00
derrodandJim 2128de7fdf UI: Exit and show error if clearing scene data fails
(cherry picked from commit 4419786840)
2023-05-08 15:49:34 -07:00
田七不甜andJim d775f5bdc1 UI: Make "Portable Mode" translateable
(cherry picked from commit e1a202b370)
2023-05-08 15:49:34 -07:00
derrodandJim 81e614cc4d UI: Do not show unassigned icon for monitored sources
(cherry picked from commit 982c424de3)
2023-05-08 15:49:34 -07:00
derrodandJim a0f10048fa UI: Fix FLAC missing from builtin codecs list
(cherry picked from commit 0c0ec90eac)
2023-05-08 15:49:34 -07:00
Richard StanwayandJim 2e04c3619b UI: Relax mc_trans_video_imagescaler.dll DLL block
This is actually a MainConcept redistributable and not related to Adobe.
Unfortunately Elgato Game Capture HD software relies on this dependency
when presenting the DirectShow device to OBS, so we unintentionally
blocked it from loading.

Instead of outright blocking, we now block only older versions than the
version shipped by Elgato, which has hopefully been patched to fix the
random crashes.

(cherry picked from commit 132f0b85fc)
2023-05-08 15:49:34 -07:00
VainockandJim 6fc3619473 UI: Fix case inconsistency in translation key
[skip crowdin-sync]

(cherry picked from commit e23b80151b)
2023-05-08 15:49:34 -07:00
Translation UpdaterandTranslation Updater a0fbdc3c34 Update translations from Crowdin 2023-05-01 23:11:13 +00:00
derrodandRyan Foster 0be8d8a28d UI: Fix building macOS/Sparkle without Browser 2023-05-01 10:45:08 -04:00
derrodandJim 4a8e8644e0 cmake,UI: Remove unused legacy DSA public key 2023-04-29 16:10:45 -07:00
gxalphaandJim 1437a6e4fc UI: Explicitly focus Ok button in properties dialog 2023-04-29 16:07:38 -07:00
tytan652andJim 2b4ef6d6ea UI: Fix advanced audio encoder bitrate always set to 192
Audio bitrate maps needs to be populated while finding closest available
bitrate

Not populating makes always fallback to 192
2023-04-23 23:47:32 -07:00
tytan652andJim 3c1733b40d UI: Fix the license in the AppStream metadata
The "or later" must be specified in the identifier or it will be seen
as "only".
2023-04-22 16:41:13 -07:00
derrodandJim ff06927c71 UI: Disable auto-remux for AV1+PCM, use MOV for PCM 2023-04-22 16:16:40 -07:00
gxalphaandJim a4ea51b2b1 cmake: Add properties and log viewer UI files to sources list 2023-04-22 16:01:47 -07:00
gxalphaandJim 597ceb2ff0 UI: Make hotkey edit layout margins symmetrical 2023-04-15 16:38:18 -07:00
gxalphaandJim 1578cca9b2 UI: Sort Add Source menu case insensitively 2023-04-15 16:06:36 -07:00
derrodandRyan Foster 36d30cad19 UI: Fix simple mode replay buffer maximum not being set 2023-04-14 19:35:59 -04:00
Richard StanwayandJim 1d7c066cf5 UI: Avoid calling libobs functions with null pointers in projectors 2023-04-14 15:50:59 -07:00
Richard StanwayandRyan Foster bacc3ac8ed UI: Add Citrix ICAService to Windows DLL blocklist 2023-04-12 21:32:49 +00:00
derrodandRyan Foster f3c075f19f UI: Do not disable events when disabling codecs 2023-04-12 17:17:11 +00:00
jpark37andJim bad13c90e0 decklink-output-ui: Don't crash on missing device
Noticed OBS crashing after I removed DeckLink hardware that I enabled
auto-start output against.
2023-04-09 11:53:12 -07:00
gxalphaandPatrick Heyer e03a2751f4 cmake: Set CFBundleName to "OBS Studio" 2023-04-09 03:58:40 +02:00
PatTheMavandJim 2978f20b06 UI: Replace use of macros for macOS updater with character constants
Also updates unqualified call to `std::move` per modern clang standards
2023-04-08 16:21:40 -07:00
gxalphaandPatrick Heyer 1b708b312e cmake: Fix build without Sparkle 2023-04-08 05:44:08 +02:00
derrodandRodney 50d1b5ccb4 UI: Lower Sparkle update check interval for pre-release builds 2023-04-07 20:59:30 +02:00
Richard StanwayandRodney 9cdd847445 UI: Fix incorrect use of QT_TO_UTF8 in SpeakerLayoutChanged
The string is immediately destroyed after use, so taking a pointer to it
ends up pointing to invalid memory. Let's avoid using QT_TO_UTF8 here.
2023-04-05 21:26:21 +00:00
gxalphaandRodney 6c676d39da UI: Removed unused static AddProjectorMenuMonitors declaration
e832b42 made AddProjectorMenuMonitors a member function of OBSBasic, but
the (now unused) declaration of the static function never got removed.
2023-04-05 21:26:17 +00:00
PatTheMavandRodney 1bab65683e frontend-plugins: Fix auto scene switcher not saving settings on close
The `done` event does not emit a `closeEvent`, but saving is only
implemented in that event handler. Changing this to `close` correctly
triggers the default QWidget event and thus settings are saved.
2023-04-05 21:26:15 +00:00
derrodandRodney e8541b9e27 UI: Recalculate scroll position after resize 2023-04-05 21:26:10 +00:00
derrodandRodney d277a7541f Revert "UI: Only adjust size of properties on first draw"
This reverts commit 624a0da302.
2023-04-05 21:26:10 +00:00
derrodandRodney 87e294fa5f UI: Fix unassigned audio source check in callback 2023-04-05 21:53:36 +02:00
derrodandJim 16909e0566 UI: Fix simple mode container check 2023-04-05 09:45:56 -07:00