# Sie sehen Ihre eigene Theme-/Farbpalettenauswahl, wenn Sie die Einstellungen anderer Benutzer anzeigen

**URL:** https://meta.discourse.org/t/you-see-your-own-theme-color-palette-selection-when-viewing-other-users-preferences/387511
**Category:** Bug
**Created:** [3. November 2025 um 22:54 UTC](https://meta.discourse.org/t/you-see-your-own-theme-color-palette-selection-when-viewing-other-users-preferences/387511 "2025-11-03T22:54:59Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [16. Februar 2026 um 22:53 UTC](https://meta.discourse.org/t/you-see-your-own-theme-color-palette-selection-when-viewing-other-users-preferences/387511/4 "2026-02-16T22:53:44Z")

</div>

Wird behoben durch

> <https://github.com/discourse/discourse/pull/37853>
>
> When an admin viewed another user's interface preferences page, the theme, color… palette, text size, and color mode dropdowns all showed the admin's own values instead of the target user's. Saving changes also incorrectly set cookies and applied live previews in the admin's browser.
> 
> This happened because the route and controller sourced display values from the current session (DOM meta tags, cookies, session store) rather than from the target user's serialized \`user\_option\`.
> 
> The fix checks \`isViewingOwnProfile\` (already defined on the controller) and branches accordingly:
> 
> \- Route: sets \`themeId\`, \`textSize\`, \`selectedColorSchemeId\`, and \`selectedDarkColorSchemeId\` from the target user's \`user\_option\` when viewing another user, and from session/cookies when viewing own profile.
> \- Controller: guards all live preview side effects (\`selectTextSize\` DOM class changes, \`save()\` cookie writes, theme reload, homepage change) behind \`isViewingOwnProfile\`.
> \- Hides "Make this the default on all my devices" checkboxes and the "theme will update" alert when viewing another user, since per-device overrides don't apply.
> \- Removes the now-redundant \`init()\` color scheme initialization since \`setupController\` always sets these values.
> 
> https://meta.discourse.org/t/387511

---

_[View the full topic](https://meta.discourse.org/t/you-see-your-own-theme-color-palette-selection-when-viewing-other-users-preferences/387511)._
