[Bug 1292041] Re: Lockscreen doesn't turn off the screen

2020-06-13 Thread Guram Savinov
Same problem on 16.04.5 with HP Elite Display E240.
Thanks to @Jaghou for workarond: set 'Auto-Switch Input' to off on display 
settings resolved the issue.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-screensaver in Ubuntu.
https://bugs.launchpad.net/bugs/1292041

Title:
  Lockscreen doesn't turn off the screen

To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/1292041/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1688528] Re: gnome-terminal with screen interprets mouse wheel events as up/down

2017-05-05 Thread Guram Savinov
Could you explain how this escape-sequence works? Does it set true value to the 
alternate_screen_scroll flag in libvte?
Does this ecape secuence substitutes option about alternate screen which was in 
gnome-terminal profile settings?

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-terminal in Ubuntu.
https://bugs.launchpad.net/bugs/1688528

Title:
  gnome-terminal with screen interprets mouse wheel events as up/down

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-terminal/+bug/1688528/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 1688528] Re: gnome-terminal with screen interprets mouse wheel events as up/down

2017-05-05 Thread Guram Savinov
No, this escape sequence doesn't change anything.
One more clarification: problem appears only when output on the screen fills 
all rows, i.e. when you output at least one screen of rows.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-terminal in Ubuntu.
https://bugs.launchpad.net/bugs/1688528

Title:
  gnome-terminal with screen interprets mouse wheel events as up/down

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-terminal/+bug/1688528/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 1688528] Re: gnome-terminal with screen interprets mouse wheel events as up/down

2017-05-05 Thread Guram Savinov
** Description changed:

  Bug is based on my last comments from
  https://bugs.launchpad.net/ubuntu/+source/screen/+bug/106995
  
  Environment:
  Ubuntu 14.04.5 LTS
  gnome-terminal 3.6.2
  libvte 0.34.9
  screen 4.1.0
  
  The problem is:
  1. screen is running from gnome-terminal
  2. mouse wheel scrolling generates up/down events which ends up as bash 
history scrolling instead of gnome-terminal history scrolling
  3. if run cat command, then mouse wheel ends up as esc-keys: 
^[[A^[[A^[[A^[[A^[[B^[[B^[[B^[[B^[[B
  
  Gnome-terminal's option about alternate screen is not working anymore in 
trusty ubuntu release, but it has been working in precise release.
  As I said in bug 106995: gnome-terminal's option about alternatre screen 
doesn't do anything with vte, so it's useless, but if I understand this patch 
in vte right it set alternate screen option true value on initialization 
automatically.
  
  commit 9f8c1b88dcd880c2d9e78c93521ee755560a9275
  Author: Christian Persch 
  Date: Mon Sep 30 23:00:09 2013 +0200
  
+ gnome-terminal calls vte_terminal_reset in terminal-window.c which set
+ alternate screen flag to true, it's strange that it doesn't work.
+ 
  I suspect that problem is in gnome-terminal, because this problem
  doesn't exists in screen run from xterm or rxvt terminal.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-terminal in Ubuntu.
https://bugs.launchpad.net/bugs/1688528

Title:
  gnome-terminal with screen interprets mouse wheel events as up/down

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-terminal/+bug/1688528/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 106995] Re: gnome-terminal unconditionally interprets mouse wheel events

2017-05-05 Thread Guram Savinov
I've opened a new bug report: https://bugs.launchpad.net/ubuntu/+source
/gnome-terminal/+bug/1688528

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is a bug assignee.
https://bugs.launchpad.net/bugs/106995

Title:
  gnome-terminal unconditionally interprets mouse wheel events

To manage notifications about this bug go to:
https://bugs.launchpad.net/vte/+bug/106995/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 1688528] [NEW] gnome-terminal with screen interprets mouse wheel events as up/down

2017-05-05 Thread Guram Savinov
Public bug reported:

Bug is based on my last comments from
https://bugs.launchpad.net/ubuntu/+source/screen/+bug/106995

Environment:
Ubuntu 14.04.5 LTS
gnome-terminal 3.6.2
libvte 0.34.9
screen 4.1.0

The problem is:
1. screen is running from gnome-terminal
2. mouse wheel scrolling generates up/down events which ends up as bash history 
scrolling instead of gnome-terminal history scrolling
3. if run cat command, then mouse wheel ends up as esc-keys: 
^[[A^[[A^[[A^[[A^[[B^[[B^[[B^[[B^[[B

Gnome-terminal's option about alternate screen is not working anymore in trusty 
ubuntu release, but it has been working in precise release.
As I said in bug 106995: gnome-terminal's option about alternatre screen 
doesn't do anything with vte, so it's useless, but if I understand this patch 
in vte right it set alternate screen option true value on initialization 
automatically.

commit 9f8c1b88dcd880c2d9e78c93521ee755560a9275
Author: Christian Persch 
Date: Mon Sep 30 23:00:09 2013 +0200

I suspect that problem is in gnome-terminal, because this problem
doesn't exists in screen run from xterm or rxvt terminal.

** Affects: gnome-terminal (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: trusty

** Package changed: screen (Ubuntu) => gnome-terminal (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-terminal in Ubuntu.
https://bugs.launchpad.net/bugs/1688528

Title:
  gnome-terminal with screen interprets mouse wheel events as up/down

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-terminal/+bug/1688528/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 106995] Re: gnome-terminal unconditionally interprets mouse wheel events

2017-05-04 Thread Guram Savinov
It seems that this commit in vte is related somehow:

commit 9f8c1b88dcd880c2d9e78c93521ee755560a9275
Author: Christian Persch 
Date:   Mon Sep 30 23:00:09 2013 +0200

emulation: Add support for DEC 1007 to set the alternate scroll mode

By default, the mouse wheel sends cursor up/down keycodes in the
alternate screen. This adds an escape sequence (DEC 1007) that allows
turning this off (and on again).

For compatibility with ubuntu's  patched vte, also add a
(deprecated, skip) public API that has the expected name but does nothing.

Based on patches from ubuntu, and Egmont Koblinger.

https://bugzilla.gnome.org/show_bug.cgi?id=518405
https://bugzilla.gnome.org/show_bug.cgi?id=709060

** Bug watch added: GNOME Bug Tracker #709060
   https://bugzilla.gnome.org/show_bug.cgi?id=709060

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is a bug assignee.
https://bugs.launchpad.net/bugs/106995

Title:
  gnome-terminal unconditionally interprets mouse wheel events

To manage notifications about this bug go to:
https://bugs.launchpad.net/vte/+bug/106995/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 106995] Re: gnome-terminal unconditionally interprets mouse wheel events

2017-05-04 Thread Guram Savinov
93_add_alt_screen_scroll_toggle.patch
Why this patch isn't included in Ubuntu's 14.04 vte package?
http://packages.ubuntu.com/trusty/libvte-2.90-9

gnome-terminal calls vte_terminal_set_alternate_screen_scroll which is 
deprecated and do nothing in vte 0.34.9
http://packages.ubuntu.com/trusty/gnome-terminal
http://packages.ubuntu.com/trusty/libvte-2.90-9

/**
 * vte_terminal_set_alternate_screen_scroll:
 * @terminal: a #VteTerminal
 * @scroll:
 *
 * Since: 0.34.9
 * Deprecated: 0.34.9: This function does nothing.
 */
void
vte_terminal_set_alternate_screen_scroll(VteTerminal *terminal, gboolean scroll)
{
/* We just want to export this symbol for compatibility */
}

It causes problems like this: mouse wheel sends key-up/key-down instead
of scroll when GNU screen is run in gnome-terminal.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is a bug assignee.
https://bugs.launchpad.net/bugs/106995

Title:
  gnome-terminal unconditionally interprets mouse wheel events

To manage notifications about this bug go to:
https://bugs.launchpad.net/vte/+bug/106995/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs