Bug 1483539

Summary: cursor blink setting broken
Product: [Fedora] Fedora Reporter: Patrik Hagara <phagara>
Component: vimAssignee: Karsten Hopp <karsten>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 25CC: gchamoul, karsten, moshima.web, phagara, zdohnal
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: vim-8.0.1030-1.fc25 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-09-14 03:51:36 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Patrik Hagara 2017-08-21 11:22:37 UTC
User-Agent:       Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0
Build Identifier: 

I've got cursor blinking disabled in my terminal emulator (rxvt-unicode-256color-9.22-2.fc25.x86_64) and in vimrc too:

  let &guicursor = &guicursor . ",a:blinkon0"

The previous vim package version did correctly respect this setting and the cursor did not blink. After updating, cursor blinks and vim does not even reset the terminal settings upon exiting (ie. the cursor now blinks even after exiting to shell).

Reproducible: Always

Steps to Reproduce:
1. install the affected vim packages
2. open vim
3. try disabling cursor blinking `:set guicursor+=a:blinkon0`
Actual Results:  
Cursor blinks.


affected package versions:
vim-common.x86_64 2:8.0.946-1.fc25
vim-enhanced.x86_64 2:8.0.946-1.fc25
vim-filesystem.x86_64 2:8.0.946-1.fc25
vim-minimal.x86_64 2:8.0.946-1.fc25

old package versions unaffected by this bug, downgrading to these fixes the issue:
vim-common.x86_64 2:8.0.885-1.fc25
vim-enhanced.x86_64 2:8.0.885-1.fc25
vim-filesystem.x86_64 2:8.0.885-1.fc25
vim-minimal.x86_64 2:8.0.885-1.fc25

Comment 1 Zdenek Dohnal 2017-08-21 15:33:30 UTC
Hi Petr,

thank you for reporting this issue. This problem is reported to upstream as issue #1986.

Comment 2 Zdenek Dohnal 2017-08-22 12:03:12 UTC
Patrik,

would you mind trying this build https://koji.fedoraproject.org/koji/taskinfo?taskID=21390816 ? Cursor blinking in GVim should be fixed. FYI guicursor option influences only gui, which means GVim. Cursor blinking in Vim is defined by terminal settings (f.e. gnome-terminal).

Comment 3 Patrik Hagara 2017-08-22 12:18:58 UTC
Yes, that build fixes the problem. Thanks!

Cursor does not blink in vim and remains static even after quitting vim and returning to shell.

(I wasn't 100% sure whether the guicursor option really had no effect in terminal vim, so I decided to also include that bit of info.)

Comment 4 Fedora Update System 2017-08-22 12:30:20 UTC
vim-8.0.983-1.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-a6fc26e60e

Comment 5 Fedora Update System 2017-08-23 08:55:33 UTC
vim-8.0.983-1.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-a6fc26e60e

Comment 6 Fedora Update System 2017-09-01 13:49:32 UTC
vim-8.0.1030-1.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-cd99047b28

Comment 7 Fedora Update System 2017-09-03 06:25:29 UTC
vim-8.0.1030-1.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-cd99047b28

Comment 8 Fedora Update System 2017-09-14 03:51:36 UTC
vim-8.0.1030-1.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.