[Bug 652240] New: Can you switch the keyboard shortcut from white back to yellow?
https://bugzilla.novell.com/show_bug.cgi?id=652240 https://bugzilla.novell.com/show_bug.cgi?id=652240#c0 Summary: Can you switch the keyboard shortcut from white back to yellow? Classification: openSUSE Product: openSUSE 11.4 Version: Factory Platform: All OS/Version: SuSE Other Status: NEW Severity: Enhancement Priority: P5 - None Component: YaST2 AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: kmgramm@code3pse.com QAContact: jsrain@novell.com Found By: --- Blocker: --- Created an attachment (id=399092) --> (http://bugzilla.novell.com/attachment.cgi?id=399092) Screen shot of yast running in a Gnome terminal window. User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.12) Gecko/20101026 SUSE/3.6.12-1.1 Firefox/3.6.12 I wanted to know if you could switch the text based YaST keyboard shortcuts back to yellow. For me, the new white ones introduced in 11.3 are hard to see. Especially when remotely controlling a machine from the Gnome terminal. Reproducible: Always Steps to Reproduce: 1. Just start Yast in a remote Gnome terminal. 2. 3. Actual Results: The shortcuts are washed out. Expected Results: For them to stand out more from the other text. If others voted for the new white color scheme I'd be just as happy if there was a way to change the shortcut color to something I like... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=652240 https://bugzilla.novell.com/show_bug.cgi?id=652240#c1 --- Comment #1 from Ken Gramm <kmgramm@code3pse.com> 2010-11-09 04:15:28 UTC --- Created an attachment (id=399093) --> (http://bugzilla.novell.com/attachment.cgi?id=399093) Picture showing orange cursor at end of "Server Name" field. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=652240 https://bugzilla.novell.com/show_bug.cgi?id=652240#c2 --- Comment #2 from Ken Gramm <kmgramm@code3pse.com> 2010-11-09 04:17:20 UTC --- Created an attachment (id=399094) --> (http://bugzilla.novell.com/attachment.cgi?id=399094) Same screen, the only difference is that the cursor is actually on the "o" -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=652240 https://bugzilla.novell.com/show_bug.cgi?id=652240#c3 --- Comment #3 from Ken Gramm <kmgramm@code3pse.com> 2010-11-09 04:27:24 UTC --- Don't know if it is related, but I have also noticed that when using Yast in a remote Gnome window, that the cursor disappears when I move it over text in an input field. As you can see from the second attachment, the cursor is orange and is at the end of the "Server Name" field. But, as the third attachment shows, if I use the error keys and move it back over the text, the cursor's position disappears. In this case, I have moved the cursor back three places and it is actually on the "o" character of .org. For the record, my Gnome desktop is running the Clearlook theme and the Gnome terminal app. is set to use the system theme. I have tried other themes and they all give the same results. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=652240 https://bugzilla.novell.com/show_bug.cgi?id=652240#c5 Ladislav Slezak <lslezak@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P2 - High AssignedTo|lslezak@novell.com |gs@novell.com Summary|Can you switch the keyboard |Text mode: the keyboard |shortcut from white back to |shortcut is hardly visible, |yellow? |cursor in a text entry is | |completely hidden Severity|Enhancement |Major --- Comment #5 from Ladislav Slezak <lslezak@novell.com> 2010-11-11 11:33:46 UTC --- I can confirm the problem - although in xterm the white characters are better visible than in your screenshots. Personally, I'm using "Linux Console" color scheme in gnome-terminal which uses same the colors as xterm and it's OK there. The second problem is more severe, the cursor is not visible at all (in gnome-terminal) when it's moved in a text entry field, you simply don't know where it is. This makes the text mode UI hard to use => increasing severity and priority. In xterm the cursor has not visible but the letter at the cursor blinks - that's a strange behavior but still better than nothing. Rassigning to Gabi, the ncurses UI maintainer. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=652240 https://bugzilla.novell.com/show_bug.cgi?id=652240#c Gabriele Mohr <gs@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=652240 https://bugzilla.novell.com/show_bug.cgi?id=652240#c6 Gabriele Mohr <gs@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |werner@novell.com --- Comment #6 from Gabriele Mohr <gs@novell.com> 2010-11-17 13:17:08 UTC --- The color scheme hasn't changed in 11.3.
From 11.3 on libncurses6 is used and this seems to be the reason for the problems. yast2-ncurses compiled with libncurses5 on 11.3 has correct behaviour.
AFAICS the problems are related to the combined character cchar_t (there are changes in struct cchar_t in ncurses6 concerning the color). We use 'win_wch' to get the combined char and 'add_wch' to write it back to the screen (after manipulation of the attributes). For me it seems that the color (and attributes?) aren't got (and/or written) correctly. YaST function for this is 'add_attr_char' from ncursesw.cc. ncursesw.cc and ncursesw.h from yast2-ncurses sources are attached. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=652240 https://bugzilla.novell.com/show_bug.cgi?id=652240#c7 --- Comment #7 from Gabriele Mohr <gs@novell.com> 2010-11-17 13:18:35 UTC --- Created an attachment (id=400799) --> (http://bugzilla.novell.com/attachment.cgi?id=400799) ncursesw.cc form yast2-ncurses sources -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=652240 https://bugzilla.novell.com/show_bug.cgi?id=652240#c8 --- Comment #8 from Gabriele Mohr <gs@novell.com> 2010-11-17 13:19:43 UTC --- Created an attachment (id=400800) --> (http://bugzilla.novell.com/attachment.cgi?id=400800) ncursesw.h from yast2-ncurses sources -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=652240 https://bugzilla.novell.com/show_bug.cgi?id=652240#c9 --- Comment #9 from Gabriele Mohr <gs@novell.com> 2010-11-17 14:50:14 UTC --- Further tests showed that setting 'ext_color' from the combined char to '0' almost solves the problem. ncursesw.cc int NCursesWindow::in_wchar( cchar_t *combined ) { int ret = win_wch( w, combined ); combined->attr = combined->attr & ( A_CHARTEXT | A_ALTCHARSET ); combined->ext_color = 0; return ret; } -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=652240 https://bugzilla.novell.com/show_bug.cgi?id=652240#c10 --- Comment #10 from Thomas Dickey <dickey@his.com> 2010-11-17 22:18:59 UTC --- There's a couple of possibilities - I recall designing the extended color feature to favor values set as extended colors over those set via other means (such as the attrset call). I don't see any mixed usage in your sample, so it's possible that the problem is an incorrect merge in the ncurses library. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=652240 https://bugzilla.novell.com/show_bug.cgi?id=652240#c11 Gabriele Mohr <gs@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #11 from Gabriele Mohr <gs@novell.com> 2010-11-25 16:00:33 UTC --- Setting 'ext_color' to '0' as mentioned in comment #9 solves the problems with the shortcut (the color is yellow) and the cursor in MultiLineEdit widget (is visible). Adding same code in NCTextPad.cc (where attr_get is used) sets correct background while writing text. yast2-ncurses-2.20.1 is submitted to Factory. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=652240 https://bugzilla.novell.com/show_bug.cgi?id=652240#c12 Martijn Uijldert <martijnuijldert@yahoo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |martijnuijldert@yahoo.com --- Comment #12 from Martijn Uijldert <martijnuijldert@yahoo.com> 2011-02-12 22:42:44 UTC --- I assume that the fix should have been included in OpenSUSE 11.4 RC1. If it has not been included yet, please ignore this comment. Just installed OpenSuSE 11.4 RC1. In Yast in text-mode, cursor is not visible. To reproduce: Install OpenSUSE 11.4 with default settings. After logon in GNome desktop, right-click to open a Terminal Window. su to root. Start yast. Go for example to System->Bootloader. Use <tab> key to locate cursor at end of Kernel Image. Press <left> several times. No cursor anymore. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=652240 https://bugzilla.novell.com/show_bug.cgi?id=652240#c13 --- Comment #13 from Gabriele Mohr <gs@novell.com> 2011-02-15 13:21:19 UTC --- The bug-fix is included in OpenSUSE 11.4 RC1 - but doesn't work correctly there. I have modified the previous bug-fix and now also the problem for 11.4 is solved. yast2-ncurses-2.20.6 is submitted to Factory. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com