• Copy Link
Dark theme not considered as dark
Quirky Raven, Jan 7, 2021 at 15:59, edited
Last reproduced in 8.1.2.2432
Fixed in 8.2.0.2452
FixedAndroidIssue

Telegram Android only defines whether a theme is dark or not based on the name of that theme.

If a theme is named "Dark Blue" or "Night", it will be considered as dark. Otherwise it will be considered as light. This cause issues with the Dark/Light theme switcher in the Drawer which uses the last dark theme for the dark theme.

See:
Theme.java#L2004

Steps to reproduce

  1. Create a theme based on the Night or Dark Blue theme.
  2. Rename that theme (however you want) to something other than "Night" or "Dark Blue".
  3. Set this new custom theme as your current theme
  4. Go back on the main screen and open the drawer
  5. Toggle that Light/Dark switch above the multiple accounts drop down arrow.

Current result

Your new custom theme (which is based on a dark theme) is now considered as light. This means the Light/Dark switch will switch from your theme to the previous night theme.

Expected result

Dark theme should be considered dark based on the windowBackgroundWhite field AND/OR on a boolean attribute.

How exactly?

The boolean attribute is just a feature suggestion, but it should at least be based on windowBackgroundWhite. Assuming the hex value of windowBackgroundWhite is #242424, converting this color to HSL could allow us to obtain the lightness of this color, which in this case is 14%. So, by converting any color to HSL and obtaining its lightness, we can know whether the color is dark (L < 50) or light (L >= 50).
As mentionned above, the boolean attribute is just a feature suggestion. It could allow users to force set a theme to dark or light even if the windowBackgroundWhite indicates the opposite. It could be done with the built-in theme editor, so if users change windowBackgroundWhite, the boolean is set accordingly. However, if the user manually updates the boolean, changing windowBackgroundWhite doesn't update the boolean anymore.

321Copy link
Comments3
𝕓𝕠𝟙𝟚𝟛 Sep 19, 2021
This creates problems with the new custom chat theme function, too (see video attached)
0:17
J
Janiru Sep 25, 2021
𝕓𝕠𝟙𝟚𝟛
This creates problems with the new custom chat theme function, too (see video attached)
This is the sole reason I had to look this up. I want this theme to be used by others but I have to resort to either light mode with my custom dark theme, or use Telegram's preset dark theme to use this new chat theme. I want to be able to have my custom theme as a dark theme
𝕓𝕠𝟙𝟚𝟛 Sep 27, 2021
Janiru
This is the sole reason I had to look this up. I want this theme to be used by others but I have to resort to either light mode with my custom dark theme, or use Telegram's preset dark theme to use this new chat theme. I want to be able to have my custom theme as a dark theme
Yeah, me too. I hope Telegram can fix this even if it isn't a critical bug.
Status changed to Fix coming
Nov 1, 2021 at 16:36
Status changed to Fixed
Nov 5, 2021 at 11:24
Login
  1. Bugs and Suggestions
AllIssuesSuggestions
by rating by time

23925 Cards

Fixed
iOS badge counter shows unread messages, even when all chats are read
Badge counters inside the app and on the app's icon may sometimes show unread messages while there are no unread chats in the list. Workaround Tap 10 times on the Settings tab icon > Reindex Unread Counters.…
Nov 12, 2020Issue, iOS
72412
Added
About this platform
All users are welcome to create new entries, view existing entries and vote on them. What is this for? This platform is a place where users can vote for feature suggestions for Telegram or report issues…
Dec 23, 2020ClosedTip
67278
Fixed
Missing parts of message history
Your help needed: The team needs help with app's logs. Messages are missing on mobile but visible on Telegram Web and Desktop. Notifications of new messages are received, but messages don't appear in…
Feb 15, 2022Issue, Android
42154
0:29
Fixed
Quote is located using only the first occurrence
Admin Dog Comment This is the expected behavior at the moment. It may change in future. After quoting a message, the final user can be wrongly redirected after tapping the quote if the quoted string is…
Oct 26FixedIssue, Android
713
Fixed
Deleted Account in Chat List
Certain users, groups and channels may appear as "Deleted Account" entity in chat list. Steps to reproduce The issue starts to occur after updating to v10.3. Device info Any device
Nov 30FixedIssue, Android
14
Added
Shadowsocks Support
Add Built-in VMess, Shadowsocks, SSR, Trojan-GFW proxies support The ( vmess / vmess1 / ss / ssr / trojan ) proxy link in the message can be clicked
Apr 11, 2021Suggestion, General
905887
Added
An option to disable the Stories feature
An option in the app settings to completely disable the Stories feature to reduce visual clutter. Official Response: Stories take up no extra space in the Telegram UI – but if you'd prefer not to see…
Jul 21Suggestion, General
11155279
Added
Improve the ability to search chat history for Asian regional languages, such as Chinese and Japanese
Improve the ability to search chat history for Asian regional languages, such as Chinese and Japanese. Telegram's chat history search function is based on words, and is suitable for languages such as…
Dec 23, 2020Suggestion, General
1553347
Added
Silent sign up
A feature to join Telegram incognito, making the phone number privacy set to Nobody before creating a new account. Current users who have that number added to their contacts list will not get a new c…
Dec 12, 2019Suggestion
1382629
Added
The sticker text is covered of the time of the message
The time of the message is displayed on the sticker. It is not comfortable to read sticker. It often happens that time covers part of the text on the sticker. And if the sticker is sent from the channel…
Mar 20, 2022Android, Suggestion
112040
Added
Group Video Calls
Group Video Calls has been implemented in June 2021. Related suggestions: Group Video Calls with Contacts, Screen Sharing in private chats.
Dec 11, 2019FixedSuggestion, Calls
871696
Added
Cryptocurrency donations for bots, groups and channels
Show a button for sending quick donations to maintainers of bots, groups or channels using cryptocurrency. This could use either an established cryptocurrency like Bitcoin, Etherium, EOS, etc. – or some…
Dec 25, 2020Suggestion, General
981620
1:52
Added
Emergency passcode to hide chats
Option to set an alternative passcode ("double bottom") that either opens a limited set of chats, opens a different account, or destroys one of the connected accounts completely when entered. Use cases…
Feb 27, 2021Suggestion
531590
Added
Chat permissions: Can Talk
Please add chat permission: Can Talk. How it works If it's enabled, user can talk in a voice chat. Otherwise user is muted. For users In apps it would be useful for chat owners - they will be able to…
Aug 3, 2021Suggestion, General
81460
Added
Notify all group members
An option to notify all group members or admins using a special mention (e.g. @all and @admins). Use cases Important news and major updates in big communities. Potential issues Some group admins already…
Nov 4, 2019Suggestion
1021378
Added
Choose a different default folder instead of "All Chats"
This feature is available as part of Telegram Premium. An option to pin one of your folders as the main folder instead of All Chats. When you open the app, it would show you the folder you chose. Pressing…
Nov 16, 2020FixedSuggestion
661371
Added
Unlimited favorite stickers
Increase the limit for favorite stickers. The current limit is five stickers. When you add another one, the first sticker is replaced. Use cases Choose a limited set of stickers which you will always…
Dec 11, 2019Suggestion
621269
Added
Partial reply
Reply only on parts of a message. This would be very useful, if someone wrote a very long message and you only want to refer to one or two sentences - or even only one or a few words.  If you click on…
Jan 23, 2021FixedSuggestion, General
701245
Added
Alternate profile pictures
When setting a profile picture or video that's only visible to contacts (or certain users, groups etc.), allow choosing an alternate picture or video that will be shown to everyone else. Use cases -…
Nov 17, 2020FixedSuggestion
551057
Added
Disable "New Contact Joined" chats
Users receive a notification when one of their contacts becomes available on Telegram. It is currently possible to disable the notification: the new chats will appear in the list without sending a notification.…
Dec 11, 2019Suggestion, General
681034
Added
Armenian language official translation in telegram
Dear Telegram administration. We ask you to make the translation of the Armenian language official in telegram. Not a few people speak Armenian, and a full-fledged Armenian segment has already formed…
Jan 8Suggestion, General
1851000
Added
Allow site owners to make their own Instant View templates
Instant View templates are currently created and maintained by Telegram, the list of supported websites is expanded gradually. Some site owners would like to get IV support for their websites sooner.…
Jan 23, 2021Suggestion, General
56963
Added
Add Instant View to Telegram Desktop
Add Instant View to Telegram Desktop. The feature is there right now for MacOS Telegram App, but missing from regular Telegram Desktop. Preferably, it should open an article in the existing telegram window…
Dec 23, 2020Suggestion, Telegram Desktop
40941
Added
No one open the video in the groups conversations without the admins permission
During the meeting conversations in telegram, some members want to speak so when we open the Microphone for them to speak, they open video with sexual content. This leads to annoy the members and they…
Jan 30Android, Suggestion
7883
Added
Better global search
Make global search a place to find all communities in channels and public chats.
Feb 9, 2021Suggestion, Android
34868
Added
Add an option to disable auto-ordering of sticker packs on mobile
Add an option to disable auto-ordering of sticker packs. If you have a lot of packs, it make sense to order them in a way that makes it easy for you to find the right sticker. This has been the behaviour…
Sep 19, 2022FixedSuggestion, Android, iOS
222834
Added
Video Notes Inline
Proper support for Video Notes (aka round videos) in inline mode for bots
Nov 9, 2022Suggestion, General
27828
Added
Add "Ban Users" permission for admins of channels
In channels, admins can always ban users regardless of their permissions, it would be useful to remove the permission to ban users to some admins. Possible Solution - It could be added as sub-permission…
Aug 1, 2021Suggestion, General
7791
Added
Custom icons for folders
Add the ability to choose icons for folders on mobile platforms – like in Telegram Desktop and Telegram macOS. Sync them on all devices. Use cases - Find folders you're looking for more easily. - Save…
Nov 17, 2020Suggestion, iOS, Android
14784
Fixed
Telegram's Message Limit: Old Messages Gone Forever
When the message count reaches a million, old messages disappear. Steps to reproduce 1. Be an active Telegram user 2. Wait until the coveted number of incoming/outgoing messages is reached. 3. Eh, it's…
Jul 19, 2022Issue
60777
Added
Transfer ownership if creator account was deleted
Option to transfer ownership in groups and channels if the creator was deleted so the first admin with all permissions will become a creator! Thumbs up if you want this to happen 👍 App: all
Dec 24, 2020FixedSuggestion, General
117760
Added
Allow adding Bots (Web Apps) to the Attachment Menu to all bots
Now only selected bots can be added to the Attachment Menu. But as a developer of inline bots, I see this as a barrier to make telegram a better messenger Let users decide, what they want to see in their…
Apr 17, 2022Suggestion, General
31748
Added
An option for a channel/group owner to better interact with subscribers without the risk of being reported as spammer by trolls.
An option for the owner of a channel or a group to set a visible flag informing all new members that they might be privately contacted one single time by the owner/admins of the channel/group they are…
Feb 26, 2022Suggestion, General
20736
Added
Stories / Statuses
An option to share moments (media, like photos or short videos, texts, etc.) with your mutual contacts (this can be adapted with granular privacy permissions) to view, interact, and forward. Such statuses…
Dec 12, 2019FixedSuggestion
953728
Added
Call transfer between devices
An option to seamlessly transfer ongoing voice and video calls between different devices with one account: e.g., from a mobile phone to a desktop PC and vice versa.
Dec 23, 2020Suggestion, General, Calls
22724
Added
More Two-Factor Authentication methods
An option to add an authenticator app with temporary, one-time passwords (e.g. Authy, Google Authenticator) as another second factor.
Nov 5, 2019Suggestion
26701
Added
Hide messages from blocked users in groups
Sometimes you don't want to see messages from people you blocked, even in the groups you share with them. Such messages could be automatically collapsed and hidden under a spoiler (like 'You blocked Doge.…
Nov 5, 2019Suggestion
153669
Added
Separate passcode lock for specific chats or Archive
Option to lock certain chats with a separate passcode. On a chat-by-chat basis, or for an entire Chat Folder, e.g. the Archive. Use cases Family iPads and other shared devices. Can also be used in environments…
Nov 5, 2019Suggestion
36659
Added
Different background images for each chat
A feature to set a individual wallpaper for specific chats. (f.e. One wallpaper for a specific group, another for a chat with a friend...) Use cases This would make navigation between chats easier, especially…
Nov 5, 2019Suggestion, General
41651
Added
Allow opening media directly from the preview.
When someone posts a link, Telegram generates a link preview with title, media and some of the text from the page linked. Ever since the October 2023 update, clicking or tapping anywhere inside the preview…
Oct 29Suggestion, General
50646
Added
Syntax highlighting in code blocks
An optional extension to the backtick syntax to specify a language to highlight. Similar examples are the likes of Gitlab and GitHub comments.
Dec 27, 2020FixedSuggestion, General
42596
Added
Tmail - Telegram Email Service
Telegram is a great messenger, but it can also be a great Email service. So without further introductions, let's start. It may seem like Email service is for the previous generation, but many people,…
Jan 24, 2021Suggestion, General
69585
Added
Requests to join group or channel
If enabled, the user attempting to join the group/channel will only be able to view the content and send things after being accepted by an administrator (optional: only admins who have the "accept/decline…
Nov 23, 2020FixedSuggestion, General
155561
Added
[Privacy] [Private] New privacy option to not allow private messages from non-contacts.
Like many have asked before (for different reasons) for years (even before we had this suggestions platform) and as you can see with other suggestions in this platform too: https://bugs.telegram.org/c/1748…
Oct 24, 2021Suggestion, General
99539
Added
Change file names in Telegram
Option to change file name on Telegram without needing to re-upload the file. App: all
Dec 24, 2020Suggestion, General
23521
Fixed
Telegram downloads images instead of using bitmap data from clipboard
When I paste an image copied from Firefox, Telegram downloads it again instead of using the bitmap data from the clipboard. This happens because the clipboard also stores the image URL. If I paste the…
Jun 27, 2021FixedIssue, Telegram Desktop
10507
Added
Please Add a Clear Response button/ Retract response button in the Poll (Quiz mode) too for admins of the channel and subscribers of the channel
Hello Sir/Ma'am. I would like to draw the attention of the Telegram app to an important suggestion/request. I run telegram channels which consists of more than 50k+ Highly active students who solve quiz…
Feb 5, 2022Suggestion, Android
74482
Added
Remove or modify Telegram ad features
I really do wish that Telegram would reconsider putting up sponsored ads in channels. I've always kept it as my safe zone while the rest of the internet is saturated with ads. If the ads are going to…
Dec 9, 2021Suggestion, Android
70480
0:12
Fixed
No popup appears when hitting floodwait limits for t.me links
When you hit floowait limits for t.me/ links, an endless loading animation appears, this may confuse users that could think about a connection issue. No issues on iOS, where a popup correctly appears.…
Feb 5, 2021FixedIssue, Android
88469
Added
Starred Messages
An option to bookmark/star a message. Marking a message would add it to the separate Starred Messages section on the profile page, for quick access to messages. While Telegram doesn't have Starred Messages…
Dec 12, 2019Suggestion
81458

Log In

Log in here to report bugs or suggest features. Please enter your phone number in the international format and we will send a confirmation message to your account via Telegram.

Cancel
(Incorrect?)

We've just sent you a message.
Please confirm access via Telegram

CancelBack