Ticket #1004 (closed defect: fixed)

Opened 3 years ago

Last modified 2 years ago

Save chat window sizes (was RFE: Save position for roster only)

Reported by: shtrom-gajim@… Owned by: asterix
Priority: low Milestone: 0.10
Component: dialogs Version: 0.9.1
Severity: normal Keywords: save position roster
Cc: OS:

Description

It would be nic if the option to save the position and size of the roster could be set independently from that for the chat windows. So that the roster is can remain at the same place, but the window manager can handle the position of new chat windows when they get created

Attachments

gajim-0.9.1-save_untabbed_chat_size.patch (0.8 kB) - added by shtrom-gajim@… 3 years ago.
Patch to open untabbed chat windows with the size in the configuration options.

Change History

Changed 3 years ago by nk

  • priority changed from normal to lowest

it can be done via Advanced Configuration setting, you are welcome to patch us and we'll accept it if clean and works, but I fail to undrestand why such a thing is needed to you. Care to explain?

Keep in mind the first time Gajim runs and a chat window pops up it's WM who decides where to show it, after that, yes the position and size is saved which is very c00l and I do not see why we should break that

Changed 3 years ago by shtrom-gajim@…

Well, I have to have my roster at a fixed position, so saving it is good, but I'm not using tabbed chat windows so I get one window per active contact. And when one contact sends me a message starting a chat session, the window pops up exactly over the last one, which is quite annoying, because : 1. it gets the focus (sloppy) 2. as it as the focus, the message currently composed to the (lower) chat window will actually be typed into the new one, and sent to the wrong contact

I don't see how to disable chat windows position saving, keeping the roster's in the advanced configuration>


Olivier Mehani

Changed 3 years ago by nk

  • priority changed from lowest to low
  • milestone set to 0.9

Olivier, ok that is a indeed a very good reason, that we should NOT save at all chat and group chat window positions when tabbed-ui is OFF.

about your stealing focus comment, it can also not steal focus, but with 'pop it up', maybe it's what the user expects? (popup dialogs in webbrowser steal focus etc)

Changed 3 years ago by shtrom-gajim@…

Well, I like to be able to see that something has happened in a clear not vanishing way (vanishing the way popup notifications are), particularly that a new chat session started ;). But this focus thing is not very important as, if the chat window doesn't popup just over an old one I'm typing in, the mouse will not be over it and then my window manager will take care that it does not get the focus ;)

Changed 3 years ago by nk

you can have always the roster shown and there you can see animations, also the most common way to see about new messages is via trayicon.

I'm not convinced that your WM will do as you say, but ok :D

Changed 3 years ago by shtrom-gajim@…

Well, I _like_ to have new windows pop up, but not entirely over the old ones. Maybe my WM doesn't behave as I said, I didn't have the occasion to test due to chat windows always appearing under the mouse ;). I'm also not using trayicons. I think you are beginning to hate me by now ;)

Changed 3 years ago by asterix

what about not using the saved position when we open a second tc/gc window (because it's another account or because we use non-tab window) ?

Changed 3 years ago by nk

we save posotions for windows apart roster for non TabbedUI? that is ugly

so we should not save if non-tabbedui *or* save_only_roster_position is True

Changed 3 years ago by asterix

  • status changed from new to closed
  • resolution set to fixed

Changed 3 years ago by shtrom-gajim@…

  • status changed from closed to reopened
  • summary changed from RFE: Save position for roster only to Save chat window sizes (was RFE: Save position for roster only)
  • resolution fixed deleted
  • version changed from 0.8.2 to 0.9.1
  • milestone 0.9 deleted

Well, I switched to 0.9.1 recently, and it works... too well (; I was only bothered with the "save position" part and not at all the "save size".

In 0.9.1, when using non tabbed UI, all the new chat windows pop up at different position (Good !) but with the same non configurable size (Not good ):).

I wrote a little patch (it was only a matter of removing two tabs, not hard (;) which opens every new chat window with size chat-height x chat-width. This way I get specifically the behavior I wanted.

Changed 3 years ago by shtrom-gajim@…

Patch to open untabbed chat windows with the size in the configuration options.

Changed 3 years ago by asterix

  • status changed from reopened to closed
  • resolution set to fixed
  • milestone set to 0.10

Indeed that sounds a good idea. I've fixed a bit your patch and applied. Thx

Add/Change #1004 (Save chat window sizes (was RFE: Save position for roster only))

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.