1
0
mirror of https://github.com/ppy/osu.git synced 2025-03-11 02:17:19 +08:00

71982 Commits

Author SHA1 Message Date
Dan Balasescu
306b30cb12
Add failing test 2025-02-28 15:51:54 +09:00
Dean Herbert
a659936c57
Inline some methods 2025-02-28 13:25:21 +09:00
Dan Balasescu
47ca5c90a5
Refactor post-join setup to not pass delegates around 2025-02-27 14:50:35 +09:00
Dan Balasescu
a33aff9bbd
Merge branch 'master' into room-management-lio 2025-02-27 14:14:19 +09:00
Dan Balasescu
d31588939c
Disallow attempting to close multiplayer rooms 2025-02-27 13:39:16 +09:00
Dean Herbert
66b8b527e3
Merge pull request #32111 from bdach/prevent-closing-team-channels-harder
Prevent closing team chat channels via Ctrl-W
2025.227.0
2025-02-27 12:55:54 +09:00
Dean Herbert
003adadbf3
Merge pull request #31595 from ppy/pp-dev
January 2025 Diffcalc/PP release
2025-02-27 01:17:42 +09:00
Dean Herbert
87b6dddd11
Merge branch 'master' into pp-dev 2025-02-27 00:08:43 +09:00
Bartłomiej Dach
f3632a466f
Prevent closing team chat channels via Ctrl-W
As pointed out in
https://github.com/ppy/osu/pull/32079#issuecomment-2680297760.

The comment suggested putting that logic in `ChannelManager` but
honestly I kinda don't see it working out. It'd probably be multiple
boolean arguments for `leaveChannel()` (because `sendLeaveRequest` or
whatever already exists), and then there's this one usage in tournament
client:

	31aded6971/osu.Game.Tournament/Components/TournamentMatchChatDisplay.cs (L57-L58)

I'm not sure how that would interact with this particular change, but I
think there is a nonzero possibility that it would interact badly. So in
general I kinda just prefer steering clear of all that and adding a
local one-liner.
2025-02-26 12:06:50 +01:00
Bartłomiej Dach
31aded6971
Merge pull request #32108 from peppy/adjust-leaderboard-design-slightly
Adjust leaderboard score design slightly
2025-02-26 11:28:39 +01:00
Bartłomiej Dach
38d807e846
Merge pull request #32107 from peppy/fix-player-team-flag-replay
Fix `PlayerTeamFlag` skinnable component not showing team details during replay
2025-02-26 10:36:49 +01:00
Dean Herbert
c45a403fe2
Mostly revert sizes 2025-02-26 18:00:18 +09:00
Dean Herbert
e8b7ec0f95
Adjust leaderboard score design slightly
This design is about to get replaced, so I'm just making some minor
adjustments since a lot of people complained about the font size in the
last update.

Of note, I'm only changing the font size which is one pt size lower than
we'd usually use. Also overlapping the mod icons to create a bit more
space (since there's already cases where they don't fit).

Closes https://github.com/ppy/osu/issues/32055 as far as I'm concerned.
I can read everything fine at 0.8x UI scale.
2025-02-26 17:01:51 +09:00
Dean Herbert
abc12abded
Fix PlayerTeamFlag skinnable component not showing team details during replay
For now, let's fetch on demand.

Note that song select local leaderboard has the same issue. I feel we should be
doing a lot more cached lookups (probaly with persisting across game restarts).
Maybe even replacing the realm user storage. An issue for another day.
2025-02-26 16:48:18 +09:00
Dean Herbert
b3965f0dd0
Merge pull request #32077 from bdach/double-click-difficulty-slider-nub
Fix double-clicking difficulty adjust sliders not resetting the value to default correctly
2025.225.0
2025-02-25 21:08:46 +09:00
Dean Herbert
aab23a4b27
Merge pull request #32096 from bdach/update-framework
Update framework
2025-02-25 21:06:42 +09:00
Bartłomiej Dach
e97c2fee0d
Update framework 2025-02-25 12:57:38 +01:00
Bartłomiej Dach
1f562ab47d
Fix double-clicking difficulty adjust sliders not resetting the value to default correctly
- Closes https://github.com/ppy/osu/issues/31888
- Supersedes / closes https://github.com/ppy/osu/pull/32060
2025-02-25 07:40:55 +01:00
Dean Herbert
b776993d36
Merge pull request #32081 from bdach/did-you-know-that-strings-have-casing
Fix hash comparison being case sensitive when choosing files for partial beatmap submission
2025-02-25 14:21:25 +09:00
Dan Balasescu
e7fefc8db7
Merge pull request #32084 from bdach/huh-swell-ticks
Do not give swell ticks any visual representation
2025-02-25 12:32:58 +09:00
Dan Balasescu
820821d6c7
Merge pull request #32085 from bdach/i-dont-even
Fix taiko swell ending samples playing at results sometimes
2025-02-25 12:31:59 +09:00
Dean Herbert
fa02d734da
Merge pull request #32079 from bdach/team-chat-channels
Add support for team chat channels
2025-02-25 12:05:34 +09:00
Bartłomiej Dach
c82cf40928
Do not give swell ticks any visual representation
Why is this a thing at all? How has it survived this long? I don't know.

As far as I can tell this only manifests on selected beatmaps with "slow
swells" that spend the entire beatmap moving in the background. On other
beatmaps the tick is faded out, probably due to the initial transform
application that normally "works" but fails hard on these slow swells.

Can be seen on https://osu.ppy.sh/beatmapsets/1432454#taiko/2948222.
2025-02-24 15:32:17 +01:00
Bartłomiej Dach
e13aa4a99b
Do not allow leaving team channels 2025-02-24 15:10:20 +01:00
Bartłomiej Dach
e8f7bcb6e6
Only show team channel section when there is a team channel 2025-02-24 15:06:02 +01:00
Bartłomiej Dach
41db3c1501
Fix taiko swell ending samples playing at results sometimes
Closes https://github.com/ppy/osu/issues/32052.

Sooooo... this is going to be a rant...

To understand why this is going to require a rant, dear reader, please
do the following:

1. Read the issue thread and follow the reproduction scenario (download
   map linked, fire up autoplay, seek near end, wait for results, hear
   the sample spam).
2. Now exit out to song select, *hide the toolbar*, and attempt
   reproducing the issue again.
3. Depending on ambient mood, laugh or cry.

Now, *why on earth* would the *TOOLBAR* have any bearing on anything?

Well, the chain of failure is something like this:

- The toolbar hides for the duration of gameplay, naturally.
- When progressing to results, the toolbar gets automatically unhidden.
- This triggers invalidations on `ScrollingHitObjectContainer`. I'm not
  precisely sure which property it is that triggers the invalidations,
  but one clearly does. It may be position or size or whichever.
- When the invalidation is triggered on `layoutCache`, the next
  `Update()` call is going to recompute lifetimes for ALL hitobject
  entries.
- In case of swells, it happens that the calculated lifetime end of the
  swell is larger than what it actually ended up being determined as at
  the instant of judging the swell, and thus, the swell is *resurrected*,
  reassigned a DHO, and the DHO calls `UpdateState()` and plays the
  sample again despite the `samplePlayed` flag in `LegacySwell`, because
  all of that is ephemeral state that does not survive a hitobject
  getting resurrected.

Now I *could* just fix this locally to the swell, maybe, by having some
time lenience check, but the fact that hitobjects can be resurrected by
the *toolbar* appearing, of all possible causes in the world, feels
just completely wrong. So I'm adding a local check in SHOC to not
overwrite lifetime ends of judged object entries.

The reason why I'm making that check specific to end time is that I can
see valid reasons why you would want to recompute lifetime *start* even
on a judged object (such as playfield geometry changing in a significant
way). I can't think of a valid reason to do that to lifetime *end*.
2025-02-24 14:30:55 +01:00
Bartłomiej Dach
0312467c88
Fix hash comparison being case sensitive when choosing files for partial beatmap submission
Noticed when investigating https://github.com/ppy/osu/issues/32059, and
also a likely cause for user reports like
https://discord.com/channels/188630481301012481/1097318920991559880/1342962553101357066.

Honestly I have no solid defence, Your Honour. I guess this just must
not have been tested on the client side, only relied on server-side
testing.
2025-02-24 12:30:37 +01:00
Bartłomiej Dach
4ac4b308e1
Add visual test coverage of team channels 2025-02-24 09:48:03 +01:00
Bartłomiej Dach
194f05d258
Add icons to chat channel group headers
Matches web in appearance.

Cross-reference: 3c9e99eaf4/resources/js/chat/conversation-list.tsx (L13-L19)
2025-02-24 09:44:41 +01:00
Bartłomiej Dach
be8ec75948
Display team chat channel in separate group 2025-02-24 09:40:03 +01:00
Bartłomiej Dach
d8cb3b68d3
Add "Team" channel type
The lack of this bricks chat completely due to newtonsoft
deserialisation errors:

	2025-02-24 08:32:58 [verbose]: Processing response from https://dev.ppy.sh/api/v2/chat/updates failed with Newtonsoft.Json.JsonSerializationException: Error converting value "TEAM" to type 'osu.Game.Online.Chat.ChannelType'. Path 'presence[39].type', line 1, position 13765.
	2025-02-24 08:32:58 [verbose]: ---> System.ArgumentException: Requested value 'TEAM' was not found.
	2025-02-24 08:32:58 [verbose]: at Newtonsoft.Json.Utilities.EnumUtils.ParseEnum(Type enumType, NamingStrategy namingStrategy, String value, Boolean disallowNumber)
	2025-02-24 08:32:58 [verbose]: at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReader reader, Object value, CultureInfo culture, JsonContract contract, Type targetType)
2025-02-24 09:35:51 +01:00
Bartłomiej Dach
f4b427ee66
Add failing test case 2025-02-24 09:15:21 +01:00
Dean Herbert
e9b8154090
Merge pull request #32005 from smoogipoo/fix-multi-leave-host-sound
Fix host change sounds playing when exiting multiplayer rooms
2025-02-24 00:23:39 +09:00
Dean Herbert
8c20ef16fd
Merge pull request #32014 from bdach/use-current-button-wrong
Fix "use current distance snap" button incorrectly factoring in last object with velocity
2025-02-23 21:34:20 +09:00
Dean Herbert
dfee020773
Merge pull request #32011 from bdach/adjust-distance-snap-grid-rounding-tolerance
Adjust rounding tolerance in distance snap grid ring colour logic
2025-02-23 21:22:37 +09:00
Joseph Madamba
c4a055a0d4
Merge pull request #32050 from ziv-vy/master
Capitalise "windows" on high precision mouse tooltip
2025-02-22 16:07:57 -08:00
Joseph Madamba
d95f31dc5a
Also fix operating system terminology 2025-02-22 15:22:43 -08:00
ziv_vy
c77fed637c
Update MouseSettingsStrings.cs
CAPITALISED ONE GODDAMN LETTER
2025-02-23 01:01:39 +02:00
Bartłomiej Dach
de78518fea
Fix "use current distance snap" button incorrectly factoring in last object with velocity
Closes https://github.com/ppy/osu/issues/32003.
2025-02-21 12:52:59 +01:00
Bartłomiej Dach
a690b0bae9
Adjust rounding tolerance in distance snap grid ring colour logic 2025-02-21 12:05:23 +01:00
Bartłomiej Dach
a556049c1b
Merge pull request #32004 from smoogipoo/fix-multi-spectate-beatmap-attributes
Fix wrong beatmap attributes in multiplayer spectate
2025-02-21 10:28:05 +01:00
Dan Balasescu
f868f03e1b
Fix host change sounds playing when exiting multiplayer rooms 2025-02-21 16:38:55 +09:00
Dan Balasescu
49c192b173
Fix wrong beatmap attributes in multiplayer spectate 2025-02-21 16:19:05 +09:00
Dean Herbert
1350256599
Merge pull request #31968 from frenzibyte/fix-scaling-issues
Fix osu!taiko and osu!catch being oversized on mobile platforms
2025.221.0
2025-02-21 02:42:50 +09:00
Salman Alshamrani
b1112623dc
Fix taiko touch controls sizing logic 2025-02-21 01:21:13 +09:00
Salman Alshamrani
7bd5b745e9
Scale taiko down to remain playable 2025-02-21 01:21:13 +09:00
Salman Alshamrani
440a776bd7
Scale catch down to remain playable on mobile 2025-02-21 01:21:10 +09:00
Dean Herbert
95b64bd96b
Merge pull request #31965 from bdach/update-framework
Update framework
2025-02-21 00:02:57 +09:00
Dean Herbert
5d73af10e9
Merge pull request #31967 from peppy/fix-results-applause-sound-overload
Fix results screen applause playing too loud during multiplayer spectating
2025-02-21 00:00:34 +09:00
Dean Herbert
97c69cf1a7
Merge pull request #31969 from bdach/flag-display-adjustment
Adjust handling of team flags with non-matching aspect ratio to match web
2025-02-20 23:55:53 +09:00