Bug 1756752 - geany doesn't show written underscores
Summary: geany doesn't show written underscores
Keywords:
Status: CLOSED CANTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: geany
Version: 31
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Dominic Hopf
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-09-29 16:10 UTC by sixpack13
Modified: 2020-05-18 19:45 UTC (History)
8 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2020-05-18 19:45:51 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description sixpack13 2019-09-29 16:10:29 UTC
Description of problem:
in geany written underscores are NOT shown anymore.

Version-Release number of selected component (if applicable):

geany-libgeany-1.35-2.fc31.x86_64
geany-1.35-2.fc31.x86_64

and

geany-libgeany-1.36-1.fc31.x86_64
geany-1.36-1.fc31.x86_64


How reproducible:

Steps to Reproduce:
1. write with geany in an text file for example a underscore, a word and a underscore again 
2. you should see "_word_" (without the '"')
3. but you only see " word " (without the '"')
4. open the text file with vi => all underscorses are shown.

Actual results:
underscores are NOT shown


Additional info:

a reset of all geany settings (rm -rfv ~/.config/geany/) doesn't fix the problem


update to geany-1.36-1.fc31.x86_64 does not fix the problem
I'm running F30 with X, not wayland.

I'm not sure, but I guess problem occurs since an update of other packages (sudo dnf upgrade --refresh) during last week.

Comment 1 sixpack13 2019-10-07 22:33:42 UTC
s/I'm running F30/I'm running F31/g

Comment 2 nicolas.vieville 2019-11-03 16:02:07 UTC
Hello,

Encountered this issue too.

Switching font to "Liberation Mono Regular" in Geany Preferences/Interface
brings back underscore character.

Hope this will help.

Cordially,


-- 
NVieville

Comment 3 sixpack13 2019-11-03 18:24:20 UTC
thanks @NVieville

your hope became true: the hint fixes my bug !
:-)

Comment 4 David Auer 2019-12-26 15:17:33 UTC
Triggered by F30 -> F31 upgrade, workaround works. Is it possible to fix this in a way that not everyone needs to find and apply the workaround?

Comment 5 Dominic Hopf 2020-05-18 19:45:51 UTC
None that I know of, unfortunately. This has been discussed upstream in several issues:

* https://github.com/geany/geany/issues/2502
* https://github.com/geany/geany/issues/2386
* https://github.com/geany/geany/issues/2353
* https://github.com/geany/geany/issues/2287
* https://github.com/geany/geany/issues/1387


The thing is, it isn't a bug in Geany itself, it's rather a bug in several fonts.
Even when we wanted to work around it in the software, we still wouldn't have to change
Geany, but we'd have to change the rendering engine which displays the code,
it's named Scintilla - you'll figure this out when reading on in the
mentioned upstream issues. The issue is known at Scintilla as well, of course.

I'm afraid I can not do anything in the Fedora package for Geany at this time
but recommending you these workarounds also mentioned upstream:

* either change the font (Liberation Mono works quite well according to my experiences)
* or adjust the line_height in your filetypes.common as mentioned in the issues above:

line_height=0;2;


Note You need to log in before you can comment on or make changes to this bug.