! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Filetype selection not kept when saving file
Status:
RESOLVED: FIXED

Comments

Description Pasi Lallinaho editbugs 2017-06-09 23:31:09 CEST
To reproduce:
1) Open a file that doesn't have a file extension that let's Thunar automatically guess the filetype; for example, open the file "script"
2) Select a filetype manually; for example, select Script/sh as "script" is a bash script; the contents are correctly syntax highlighted
3) Save the file

What should happen:
The content stays syntax highlighted (with the user-selected filetype)

What happens:
The filetype option is reset and the file is not syntax highlighted any more
Comment 1 Git Bot editbugs 2017-06-10 03:50:27 CEST
Andre Miranda referenced this bugreport in commit 14de1ad83a7fafda77888ea3240cce02fa44f58c

Fix the signal definition of user-set-language (bug #13630)

https://git.xfce.org/apps/mousepad/commit?id=14de1ad83a7fafda77888ea3240cce02fa44f58c
Comment 2 Andre Miranda editbugs 2017-06-10 03:51:24 CEST
Fixed!
Comment 3 Theo Linkspfeifer editbugs 2019-04-25 10:51:14 CEST
*** Bug 14318 has been marked as a duplicate of this bug. ***
Comment 4 Theo Linkspfeifer editbugs 2019-11-20 13:39:31 CET
*** Bug 16207 has been marked as a duplicate of this bug. ***

Bug #13630

Reported by:
Pasi Lallinaho
Reported on: 2017-06-09
Last modified on: 2019-11-20
Duplicates (2):
  • 14318 Filetype reset on Save
  • 16207 Mousepad forgets manually selected filetype after saving

People

Assignee:
Xfce Bug Triage
CC List:
5 users

Version

Version:
unspecified

Attachments

Additional information