[awesome bugs] #1214 - Fullscreen with LilyTerm, awesome titlebar and specific font (Ubuntu Mono) makes Xorg go nuts

2014-05-13 Thread awesome
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#1214 - Fullscreen with LilyTerm, awesome titlebar and specific font (Ubuntu 
Mono) makes Xorg go nuts
User who did this - Daniel Hahler (blueyed)

--
The LilyTerm author has provided some information at 
https://github.com/Tetralet/LilyTerm/issues/75#issuecomment-42730673:

=
Due to the strange resize behavior of GTK2+/GTK3+, LilyTerm must handle the 
size itself, or it may cause problem.

Please visit follow link for more information:
https://lists.debian.org/debian-mentors/2010/10/msg00497.html

Bad news: the size behavior was changed (again) in the recent version of 
GTK3+... Now it became almost un-fixable.

The LilyTerm resize policy is very sample: LilyTerm is just only trying to keep 
the size that the vte widget asked for. In your case, (Ubuntu Mono 12 + 
Awesome), after calling gtk_window_fullscreen(), the vte widget ask for keep 
the size to 576x314 (82x24), so lilyterm resize itself to 576x314. I have no 
idea how to fix it... Sorry.

Please use GTK2+ version of LilyTerm instead. Thanks!
=
--

More information can be found at the following URL:
https://awesome.naquadah.org/bugs/index.php?do=detailstask_id=1214#comment4060

You are receiving this message because you have requested it from the Flyspray 
bugtracking system.  If you did not expect this message or don't want to 
receive mails in future, you can change your notification settings at the URL 
shown above.

--
To unsubscribe, send mail to awesome-devel-unsubscr...@naquadah.org.


[awesome bugs] #1214 - Fullscreen with LilyTerm, awesome titlebar and specific font (Ubuntu Mono) makes Xorg go nuts

2014-03-02 Thread awesome
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#1214 - Fullscreen with LilyTerm, awesome titlebar and specific font (Ubuntu 
Mono) makes Xorg go nuts
User who did this - Daniel Hahler (blueyed)

--
 I don't even see how this could be influenced by your Ubuntu Mono font.

From your mail 
http://article.gmane.org/gmane.comp.window-managers.awesome/10504: 

 If no args are given, some default values are used. For the titlebar's 
 height,
this is 1.5 times the height of the default font. So calling awful.titlebar()
without any arguments gives the titlebar a non-zero size.

Maybe that's (related to) why a specific font might trigger it?
--

More information can be found at the following URL:
https://awesome.naquadah.org/bugs/index.php?do=detailstask_id=1214#comment3836

You are receiving this message because you have requested it from the Flyspray 
bugtracking system.  If you did not expect this message or don't want to 
receive mails in future, you can change your notification settings at the URL 
shown above.

--
To unsubscribe, send mail to awesome-devel-unsubscr...@naquadah.org.


[awesome bugs] #1214 - Fullscreen with LilyTerm, awesome titlebar and specific font (Ubuntu Mono) makes Xorg go nuts

2014-02-28 Thread awesome
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

A new Flyspray task has been opened.  Details are below. 

User who did this - Daniel Hahler (blueyed) 

Attached to Project - awesome
Summary - Fullscreen with LilyTerm, awesome titlebar and specific font (Ubuntu 
Mono) makes Xorg go nuts
Task Type - Bug Report
Category - Core
Status - Unconfirmed
Assigned To - 
Operating System - All
Severity - High
Priority - Normal
Reported Version - git/master
Due in Version - Undecided
Due Date - Undecided
Details - I have noticed that when I use a titlebar for the clients/windows in 
the awesome window manager and font_name = Ubuntu Mono 12 (size appears to be 
irrelevant), LilyTerm misbehaves when I make the client fullscreen: the Xorg 
process goes nuts (CPU and memory), and it seems like the LilyTerm window gets 
bigger and bigger (according to the scrollbar).
Nothing is visible in the window (just the background, no cursor etc).
With latest master (in contrast to 3.5.2) there might be some flickering 
visible for a short time.

When exiting fullscreen, before you would have to kill awesome, the lilyterm 
window has a few pages of scrollback, with the prompt being visible at the top 
and the bottom, and only blank space inbetween.

This is triggered by using font_name = Ubuntu Mono 12 in LilyTerm, and needs 
the titlebars to be enabled in awesome.

*It works as expected with titlebars being off, and can be triggered by 
toggling/enabling the titlebar while in fullscreen mode.*

I am using the default titlebar config for awesome (which is just disabled by 
default), and toggle it using the following key binding:

awful.key({ modkey, Shift   }, t,  awful.titlebar.toggle),

This does not happen with gnome-terminal.

This happens with both size_hints_honor = false and unconfigured (should be 
true) in awesome's settings.

I have also reported it also for LilyTerm at: 
https://github.com/Tetralet/LilyTerm/issues/75

awesome v3.5.2-24-ga546367

More information can be found at the following URL:
https://awesome.naquadah.org/bugs/index.php?do=detailstask_id=1214

You are receiving this message because you have requested it from the Flyspray 
bugtracking system.  If you did not expect this message or don't want to 
receive mails in future, you can change your notification settings at the URL 
shown above.

--
To unsubscribe, send mail to awesome-devel-unsubscr...@naquadah.org.


[awesome bugs] #1214 - Fullscreen with LilyTerm, awesome titlebar and specific font (Ubuntu Mono) makes Xorg go nuts (Attachment added)

2014-02-28 Thread awesome
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#1214 - Fullscreen with LilyTerm, awesome titlebar and specific font (Ubuntu 
Mono) makes Xorg go nuts
User who did this - Daniel Hahler (blueyed)

--
xtrace log: maximized LilyTerm, waited a few seconds, un-maximized it.
--

One or more files have been attached.

More information can be found at the following URL:
https://awesome.naquadah.org/bugs/index.php?do=detailstask_id=1214#comment3828

You are receiving this message because you have requested it from the Flyspray 
bugtracking system.  If you did not expect this message or don't want to 
receive mails in future, you can change your notification settings at the URL 
shown above.

--
To unsubscribe, send mail to awesome-devel-unsubscr...@naquadah.org.


[awesome bugs] #1214 - Fullscreen with LilyTerm, awesome titlebar and specific font (Ubuntu Mono) makes Xorg go nuts

2014-02-28 Thread awesome
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task is now closed:

FS#1214 - Fullscreen with LilyTerm, awesome titlebar and specific font (Ubuntu 
Mono) makes Xorg go nuts
User who did this - Uli Schlachter (psychon)

Reason for closing: Not a bug
Additional comments about closing: Let's start with quoting the relevant 
standard that lilyterm is violating (ICCCM ยง 4.2.4):

The response of the client to being resized should be to accept the size it has 
been given and to do its best with it. Clients must not respond to being 
resized by attempting to resize themselves to a better size. If the size is 
impossible to work with, clients are free to request to change to the Iconic 
state.


The bug comes from LilyTerm/src/window.c, function window_size_request() which 
calls gtk_window_resize(), something that is not allowed from within the size 
request handler.

I do not understand why the code thinks that it has to do this. It might be 
possible that awesome is calculating the geometry from the size hints 
incorrectly. However, that still doesn't allow LilyTerm to violate the 
standard. (Also, I am too lazy to compile LilyTerm and add some printfs to test 
this and the #ifdef hell in the code already scares me)

More information can be found at the following URL:
https://awesome.naquadah.org/bugs/index.php?do=detailstask_id=1214

You are receiving this message because you have requested it from the Flyspray 
bugtracking system.  If you did not expect this message or don't want to 
receive mails in future, you can change your notification settings at the URL 
shown above.

--
To unsubscribe, send mail to awesome-devel-unsubscr...@naquadah.org.


[awesome bugs] #1214 - Fullscreen with LilyTerm, awesome titlebar and specific font (Ubuntu Mono) makes Xorg go nuts (Attachment added)

2014-02-28 Thread awesome
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#1214 - Fullscreen with LilyTerm, awesome titlebar and specific font (Ubuntu 
Mono) makes Xorg go nuts
User who did this - Uli Schlachter (psychon)

--
The attached file (hopefully) models the behavior of LilyTerm. If this is 
correct, then LilyTerm is even more stupid than I thought:

This has nothing to do with size hints. If some magic settings* are enabled, 
LilyTerm considers itself to be smarter than everyone else. Whenever it is 
resized to a different size than it wants to be, it just resizes itself to its 
prefered size. This has nothing to do with the size of characters etc. I don't 
even see how this could be influenced by your Ubuntu Mono font.

*: This is the relevant code. Judge yourself if this is self-explanatory:
// [Showing/Hiding tabs bar] and [Change the vte font] won't run the following 
codes.
if (win_data-keep_vte_size0xa94a)
--

One or more files have been attached.

More information can be found at the following URL:
https://awesome.naquadah.org/bugs/index.php?do=detailstask_id=1214#comment3829

You are receiving this message because you have requested it from the Flyspray 
bugtracking system.  If you did not expect this message or don't want to 
receive mails in future, you can change your notification settings at the URL 
shown above.

--
To unsubscribe, send mail to awesome-devel-unsubscr...@naquadah.org.