Bug 504946 - The tokodon does not attach file and a survey when creating a publication
Summary: The tokodon does not attach file and a survey when creating a publication
Status: RESOLVED INTENTIONAL
Alias: None
Product: Tokodon
Classification: Applications
Component: general (other bugs)
Version First Reported In: 25.04.1
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-05-29 06:38 UTC by tatyana
Modified: 2025-06-04 11:27 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
the survey is already attached (35.76 KB, image/png)
2025-05-29 06:38 UTC, tatyana
Details
the file is already attached (150.87 KB, image/png)
2025-05-29 06:39 UTC, tatyana
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tatyana 2025-05-29 06:38:11 UTC
Created attachment 181844 [details]
the survey is already attached

STEPS TO REPRODUCE
1. Install:
# apt-get install tokodon

2. Run:
$ tokodon

3. Login to your account

4. Create a "+Publication" post -> click on the "Attach file" paperclip -> click on the "Attach poll".

EXPECTED RESULT
The file and the survey are attached when creating a single entry.

OBSERVED RESULT
It is not possible to attach a survey and a file to a publication at the same time.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma:  ALT Workstation K 11.0 
KDE Frameworks Version:  6.14.0
Qt Version:  6.8.2
Kernel:  6.12.30-6.12-alt2
Comment 1 tatyana 2025-05-29 06:39:21 UTC
Created attachment 181845 [details]
the file is already attached
Comment 2 Joshua Goins 2025-05-29 09:13:17 UTC
This is intentional, Mastodon does not support showing both at once so it's just not allowed.
Comment 3 tatyana 2025-05-29 09:29:52 UTC
(In reply to Joshua Goins from comment #2)
> This is intentional, Mastodon does not support showing both at once so it's
> just not allowed.

Thanks for the answer!
Comment 4 Bug Janitor Service 2025-05-29 09:49:22 UTC
A possibly relevant merge request was started @ https://invent.kde.org/network/tokodon/-/merge_requests/746
Comment 5 Joshua Goins 2025-06-04 11:27:57 UTC
Git commit 42c16aa47c57fcfc67dd6ede9b678c3a11617660 by Joshua Goins.
Committed on 04/06/2025 at 11:27.
Pushed by redstrate into branch 'master'.

Add better tooltips for disabled poll and attachment buttons

This prevents confusion to people new to Mastodon, and may not be aware
that they don't allow showing both media and polls at the same time. We
previously disabled the button (which matches upstream Mastodon Web) but
don't actually give an explanation in-application as to why.

Now the tooltips for these buttons match their disabled state.

M  +22   -2    src/content/ui/StatusComposer/StatusComposer.qml

https://invent.kde.org/network/tokodon/-/commit/42c16aa47c57fcfc67dd6ede9b678c3a11617660