Age | Commit message (Collapse) | Author |
|
As requested in #4748 this commit implements a volume control
slider for User local volume and Listener local volume in the
relevant context menus for easier reach and quicker adjustments.
The VolumeSliderWidgetAction was implemented as a base class
for UserLocalVolumeSlider and ListenerLocalVolumeSlider which were
then added as QActions in the MainWindow to the context menus qmUser and
qmListener respectively.
The existing LocalVolumeDialogs for users and listeners have been removed.
Additionally, the new generic MenuLabel class was created to be able to
add non-interactive items into QMenus.
Co-authored-by: Hartmnt <hartmunt@protonmail.com>
|
|
Qt >= 5.12.6 has changed the behavior of the padding value in style sheets
for QMenus. Previously the padding was counted from the start of the QMenu::item,
ignoring any decorations. The new behavior starts counting the padding after any
decoration item.
Without this change, Mumble compiled against Qt versions >= 5.12.6 will have
effectively double the padding on all QMenus containing icons or check-marks.
However, there are multiple issues with padding in QMenus pending on the Qt side
so this change may regress later on.
Fixes #5462
|
|
The current channel lock icons introduced for 1.4.x use a line-art
style. This stands out against the other icons that show in the
channel tree (user mute status, comments, friend hearts, etc.) because
they are all filled in.
|
|
This change keeps the shape more or less the same, but changes the
colouring to hopefully add clarity and consistency with other icons.
Summary of changes:
- Use single colour and negative space instead of outlines
- ~~Change to blue tone used by the link icon to reflect the~~
~~similarity between listening and linking as well as to fit in~~
~~with the existing colour scheme~~
Change to monochrome gray
- Add a sound wave coming towards the ear from the right to help
communicate the idea of "listening" a bit more
|
|
The current channel lock icons introduced for 1.4.x use a line-art
style. This stands out against the other icons that show in the
channel tree (user mute status, comments, friend hearts, etc.) because
they are all filled in.
The included changes to the icons are:
- Switch to a filled-in style
- Set opacity to 75% to match other icons
- Slightly shrink them, as they look somewhat large compared to the
channel comment icon.
|
|
- Created a new README with instructions for how to change themes
- Changed contents of original README to be purely descriptive of what
the Mumble theme is about
|
|
The theme is now integrated into the main repository. This facilitates
future work on it as we don't have to work across two repositories.
The theme is overtaken from https://github.com/mumble-voip/mumble-theme
without any modifications to it. All file from there are copied to this
repo now.
The theme's directory was renamed from "Mumble" to "Default" in order to
a) Make the name more descriptive
b) Avoid conflicts updating already checked out workspaces (git would
report conflicts if the new dir was called the same as the old one)
|
|
|
|
This commit introduces a fully featured search dialog.
Note that selections in the search dialog are synchronized with the main
UI and thus "whisper to selection" works by selecting something in the
search dialog as well.
There are also default actions that are executed when a search result is
activated (double-clicked or pressing enter on it). What that action is
exactly, can be configured in the settings.
Furthermore the context menu works as expected when invoked on entries
in the search result list.
In order to disambiguate the results, the full channel hierarchy to the
search result's parent channel is shown below each result.
The search dialog can be toggled via Ctrl+F when Mumble has focus or by
using the new entry in the toolbar. Additionally there is a new global
shortcut that can be configured for this purpose. Note however that on
Windows the search dialog won't obtain focus when toggled in a situation
when Mumble does not have focus already.
|
|
Fixes #4937
|
|
Having to maintain the old legacy theme of Mumble was becoming a burden
as new icons would have to be created two times in order to fit both
theme variants. That never happened and thus the new icons looked very
out-of-place in the Classic theme. Besides the classic theme was also
missing several icons altogether already.
Thus it has been concluded to remove the Classic theme.
|
|
Before this commit it is impossible to tell whether a client is talking
or not once that client is locally muted.
This commit changes this by introducing a new talking state
"MutedTalking" for these special cases. In order for this talking state
to come in existence, the audio code was altered so that audio packets
are no longer dropped if the associated user is locally muted. Instead
the audio frame will pass the normal processing chain until it comes to
actually decoding it.
For Opus packets only the sample count is read out without actually
doing the work of decoding. For all other codecs the packet is decoded
as usual. In a final step the sample buffer is filled/overwritten with
zeros in order to mute the stream.
With this commit in place, the UI will indicate a user that is talking
but is muted with a special icon. Note that this is only the case in the
modern themes (Light and Dark) but not for the Classic theme as I wasn't
able to alter the talking icon accordingly. There is an altered version
of the icon added with this commit but that one doesn't render properly
within Qt (it does render everywhere else though). Making this feature
work for the classic theme is a simple matter of getting the icon to
work and then editing ClassicTheme.qrc which currently points to the
same icon as for passive users for the MutedTalking state.
|
|
|
|
This implements #3319 by allowing users to "listen" to a channel they
have not joined. Doing so will place a "listener proxy" (in other
software this is sometimes known as a "phantom") in that channel which
will look like a normal user except that it'll have the same name as the
user listening to that channel and an ear-icon instead of the normal
avatar-icon. It will also always show a muted-icon next to it.
If a listener proxy is in a channel, the server will route all audio
packets from that channel to the user the proxy belongs to (as if that
user was in the channel). Note though that the opposite of this is not
true: The users in the channel will not hear audio from the listening
user unless that user decides to join the channel.
Furthermore it is possible to set a local volume adjustment for each
individual proxy that will be applied to all audio that is received
through it.
|
|
This icon is referenced/needed from ConnectDialog and before this
commit, an error would be printed that this icon can't be found (#4057).
|
|
unlocked one, depending on whether the user can enter the channel or not)
|
|
|
|
|
|
1.3.0 has been released. master now represents the current state of
development towards the next feature release 1.4.0.
Bugfixes for 1.3 will happen in the 1.3.x branch.
Compared to earlier version bumps we bump a lot more files because of
we produce more artifacts; overlay process, dll and exe split, etc.
This should have happened right after the 1.3.x branch was split off.
|
|
This commit adds a theme called "Classic - Old Style", which is simply a set of icons for the system's theme (used when "None" is selected).
Those icons are the ones we had for "None" until 7bf387de8c005cd513f27467c9b834f18df57f15.
|
|
"builtin" is redundant because the ":" prefix is required in order to access embedded resources.
|
|
|
|
|
|
|
|
|
|
|
|
mumble-theme.
|
|
|
|
|
|
Adds the Mumble theme as a submodule and ensures it is built
into the binary itself as a resource. Also changes the default
configuration to select the Mumble theme in it's Lite style
as the default. Whether we go with lite or dark in the end we'll
want to select a Metro Mumble style as the default. This will allow
us to always switch to the other without restart because they use
the same icons.
|