Commit graph

3,038 commits

Author SHA1 Message Date
Exeldro
0be3b3b845 UI: Don't update text source when nothing changed
(cherry picked from commit e830043851)
2023-06-16 18:43:35 -04:00
tududweb
018bfe87e7 UI: Don't trigger a settings update when list is empty
To avoid recursive call

(cherry picked from commit 4871fd301a)
2023-06-16 18:43:35 -04:00
cg2121
a11a511829 UI: Fix filter shortcuts not showing in context menu
This fixes the shortcuts not showing up in the filters context
menu for rename and remove. This also has a code cleanup for
the rename action, as now it is created in the ui file.

(cherry picked from commit 4c9e1949ad)
2023-06-16 18:43:35 -04:00
cg2121
b281a74e25 UI: Fix menu actions missing shortcuts
The scene and source rename/remove actions were missing shortcuts
in the context menu.

(cherry picked from commit 016ce128b7)
2023-06-16 18:43:35 -04:00
derrod
e26a04fa44 UI: Assume RTMP if service has no protcol 2023-06-03 13:44:44 -07:00
derrod
fb5d03130a Revert "UI: Reset service selection to custom if name not found"
This reverts commit e55171f28c.
2023-06-03 13:44:44 -07:00
Norihiro Kamae
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
gxalpha
3f3ff4fd92 UI: Disallow exiting settings with no track in advanced mode
(cherry picked from commit 4b37692939)
2023-05-26 14:47:09 -04:00
gxalpha
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 Kamae
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
gxalpha
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 Kamae
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
Jim
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
gxalpha
8b48d8e867 UI: Re-raise missing files dialog on macOS after file is selected 2023-05-26 14:47:09 -04:00
田七不甜
890f96ed34 UI: Remove tabs for About error statements
And change error statements to translation key
2023-05-26 14:47:09 -04:00
derrod
10fdafb9f1 UI: Process Qt events once after destroy queue finishes 2023-05-26 14:47:09 -04:00
derrod
c304480f13 UI: Only update vcam output if necessary 2023-05-26 14:47:09 -04:00
derrod
dfc35603cf UI: Reset VCam when clearing scene data 2023-05-26 14:47:09 -04:00
田七不甜
96db6187ad UI: Fix scene grid mode button color 2023-05-26 14:47:09 -04:00
田七不甜
6d01b0c635 UI: Normalize theme qss files 2023-05-26 14:47:09 -04:00
Richard Stanway
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
derrod
e55171f28c UI: Reset service selection to custom if name not found 2023-05-23 04:22:03 -07:00
PatTheMav
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
tytan652
40fdec218c UI: Avoid registering CEF OAuth integrations on Wayland
(cherry picked from commit 169cd07c42)
2023-05-08 15:49:34 -07:00
derrod
2128de7fdf UI: Exit and show error if clearing scene data fails
(cherry picked from commit 4419786840)
2023-05-08 15:49:34 -07:00
田七不甜
d775f5bdc1 UI: Make "Portable Mode" translateable
(cherry picked from commit e1a202b370)
2023-05-08 15:49:34 -07:00
derrod
81e614cc4d UI: Do not show unassigned icon for monitored sources
(cherry picked from commit 982c424de3)
2023-05-08 15:49:34 -07:00
derrod
a0f10048fa UI: Fix FLAC missing from builtin codecs list
(cherry picked from commit 0c0ec90eac)
2023-05-08 15:49:34 -07:00
Richard Stanway
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
Vainock
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 Updater
a0fbdc3c34 Update translations from Crowdin 2023-05-01 23:11:13 +00:00
derrod
0be8d8a28d UI: Fix building macOS/Sparkle without Browser 2023-05-01 10:45:08 -04:00
derrod
4a8e8644e0 cmake,UI: Remove unused legacy DSA public key 2023-04-29 16:10:45 -07:00
gxalpha
1437a6e4fc UI: Explicitly focus Ok button in properties dialog 2023-04-29 16:07:38 -07:00
tytan652
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
tytan652
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
derrod
ff06927c71 UI: Disable auto-remux for AV1+PCM, use MOV for PCM 2023-04-22 16:16:40 -07:00
gxalpha
a4ea51b2b1 cmake: Add properties and log viewer UI files to sources list 2023-04-22 16:01:47 -07:00
gxalpha
597ceb2ff0 UI: Make hotkey edit layout margins symmetrical 2023-04-15 16:38:18 -07:00
gxalpha
1578cca9b2 UI: Sort Add Source menu case insensitively 2023-04-15 16:06:36 -07:00
derrod
36d30cad19 UI: Fix simple mode replay buffer maximum not being set 2023-04-14 19:35:59 -04:00
Richard Stanway
1d7c066cf5 UI: Avoid calling libobs functions with null pointers in projectors 2023-04-14 15:50:59 -07:00
Richard Stanway
bacc3ac8ed UI: Add Citrix ICAService to Windows DLL blocklist 2023-04-12 21:32:49 +00:00
derrod
f3c075f19f UI: Do not disable events when disabling codecs 2023-04-12 17:17:11 +00:00
jpark37
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
gxalpha
e03a2751f4 cmake: Set CFBundleName to "OBS Studio" 2023-04-09 03:58:40 +02:00
PatTheMav
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
gxalpha
1b708b312e cmake: Fix build without Sparkle 2023-04-08 05:44:08 +02:00
derrod
50d1b5ccb4 UI: Lower Sparkle update check interval for pre-release builds 2023-04-07 20:59:30 +02:00
Richard Stanway
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