Bug 20717 - Strange behavior with tabs in terminology, shrinking window. (When "Show tabs" is disabled, window size stays the same.)
Summary: Strange behavior with tabs in terminology, shrinking window. (When "Show tabs...
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 6
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL: https://www.youtube.com/watch?v=bA-pu...
Whiteboard: MGA6-64-OK MGA6-32-OK advisory
Keywords: UPSTREAM, validated_update
Depends on: 21593
Blocks:
  Show dependency treegraph
 
Reported: 2017-04-22 11:19 CEST by Stig-Ørjan Smelror
Modified: 2017-08-29 00:48 CEST (History)
7 users (show)

See Also:
Source RPM: terminology-1.0.0-1.mga6.src.rpm
CVE:
Status comment:


Attachments

Description Stig-Ørjan Smelror 2017-04-22 11:19:51 CEST
Description of problem:

I have a terminology window open with 4 tabs and when I click to switch tabs, the window becomes smaller and smaller. It shrinks from the bottom and up.

Version-Release number of selected component (if applicable):
terminology-1.0.0-1.mga6

rpm -qa | grep efl
python-efl-1.18.0-2.mga6
efl-1.18.4-3.mga6
lib64efl1-1.18.4-3.mga6

Steps to Reproduce:
1. Open Terminology
2. Open multiple tabs
3. Click on each tab and the window shrinks
Comment 1 Stig-Ørjan Smelror 2017-04-22 11:28:09 CEST
Added a link to a video of the issue.

URL: (none) => https://www.youtube.com/watch?v=bA-puXX3KlQ

Comment 2 Marja Van Waes 2017-04-22 12:58:40 CEST
Assigning to the registered maintainer.

CC: (none) => marja11
Assignee: bugsquad => tremyfr

Comment 3 Stig-Ørjan Smelror 2017-04-22 20:59:37 CEST
I downloaded Terminology from git and compiled.

Have the same issue.
Comment 4 Marja Van Waes 2017-04-23 10:31:12 CEST
(In reply to Stig-Ørjan Smelror from comment #3)
> I downloaded Terminology from git and compiled.
> 
> Have the same issue.

I didn't manage to find whether it's a know upstream issue, and enlightenment.org seems down atm.

Do you happen to know whether this only occurs in Mageia, or in other distros, too?

Keywords: (none) => NEEDINFO

Comment 5 Stig-Ørjan Smelror 2017-04-23 13:06:05 CEST
Hi Marja,

I just tried with eLive 2.9.0 beta and they don't use tabs with Terminology.

Other than that, I only use Mageia on all my machines...
Comment 6 Stig-Ørjan Smelror 2017-04-24 10:46:21 CEST
I'm in the process of compiling EFL from git as I see that Cauldron comes with versio 1.18.4 just to see if there is a difference when compiling terminology with these newer libs.

Will let you know.
Comment 7 Stig-Ørjan Smelror 2017-04-24 11:34:40 CEST
Hi.

OK. No change with the latest of the latest from git.

Installed EFL, Python-EFL and terminology. Also installed dependencies for compiling EFL.

cppcheck
lib64check-devel
lib64poppler-cpp-devel
lib64spectre-devel
lib64raw-devel
sndfile-devel
dbus-python
python-dbus-devel

My solution for now is to disable "Show tabs" in Settings for Terminology and go back to the four squares in the upper right corner. Not as easy as tabs, but at least the window size stays the same.
Comment 8 Stig-Ørjan Smelror 2017-04-24 11:48:00 CEST
Have reported this to the Enlightenment team.

https://phab.enlightenment.org/T5421
Comment 9 Marja Van Waes 2017-04-24 13:53:32 CEST
(In reply to Stig-Ørjan Smelror from comment #5 till comment #8)

Thanks :-)


@ LpSolit

My attempts to add https://phab.enlightenment.org/T5421 to the "See Also:" field in this report, fail. Can you enable adding Phabricator tasks to that field?

Keywords: NEEDINFO => (none)
Summary: Strange behavior with tabs in terminology, shrinking window => Strange behavior with tabs in terminology, shrinking window. (When "Show tabs" is disabled, window size stays the same.)
CC: (none) => LpSolit

Comment 10 Frédéric "LpSolit" Buclin 2017-04-24 15:46:31 CEST
(In reply to Marja van Waes from comment #9)
> Can you enable adding Phabricator tasks to that field?

done

See Also: (none) => https://phab.enlightenment.org/T5421
CC: LpSolit => (none)

Comment 11 Stig-Ørjan Smelror 2017-04-26 08:34:55 CEST
Just tried with Manjaro 2017.1, running terminology 0.9.1 and saw the same behavior but not as bad as in Mageia.

In Manjaro, it also happened when I clicked the New button and sometimes when switching tabs.

One other difference is that there is also the four squares in the upper right corner at the same time as the tabs.
Marja Van Waes 2017-04-26 13:35:15 CEST

Keywords: (none) => UPSTREAM

Comment 12 Chris Denice 2017-06-03 15:49:26 CEST
That's weird, works for me. Moving the mouse when the windows get minimized allows me to go on any tabs and if I click on them they grow again and the switch is properly completed.

Could you remove old configuration files and try again? (make a backup if necessary).

rm -r -f ~/.e
rm -r -f ~/.ecore
rm -r -f ~/.elementary
rm -r -f ~/.config/terminology

cheers.

CC: (none) => eatdirt

Comment 13 Stig-Ørjan Smelror 2017-06-03 16:22:23 CEST
Hi Chris.

I just tried your suggestion and see the same behavior with the MGA6 (v1.0.0) version and the one I compiled from git (1.0.99).

I always update efl before I compile terminology, but the issue is still present.

Recently though, efl compilation has failed for me, so I haven't been able to update in a while. Will try again now.

I see they've updated a few files in terminology that I haven't yet tested.

Will let you know as soon as I'm done compiling.

Cheers,
Stig
Comment 14 Stig-Ørjan Smelror 2017-06-03 16:41:42 CEST
Hi again.

It only happens when Show Tabs are set, which btw, is the default.
Comment 15 aguador 2017-06-04 10:36:46 CEST
Curious. I normally do not use tabs, but tried to reproduce this testing:

a) with both empty windows and different tasks in each tab
b) different sized Terminology windows.

While I wouldn't expect the theme to affect window sizing, I also tried with the current default theme plus four different E themes, three of which were based on the old E17 default theme, and still could not reproduce the problem.

CC: (none) => aguador

Comment 16 Stig-Ørjan Smelror 2017-08-12 23:08:20 CEST
Issue fixed upstream with version 1.0.99.

Guess it'll be in the next official release.

Status: NEW => RESOLVED
Resolution: (none) => FIXED

Marja Van Waes 2017-08-22 22:47:43 CEST

Depends on: (none) => 21593

Comment 17 Marja Van Waes 2017-08-22 22:48:47 CEST
Not yet fixed in Mga, see bug 21593 for the update request to the version that fixes this bug.

Status: RESOLVED => REOPENED
Resolution: FIXED => (none)

Comment 18 Chris Denice 2017-08-26 10:30:50 CEST
I have uploaded an updated package from upstream (version 1.1.) for Mageia 6 in updates_testing which should fix the tab issue.

You can test by starting "terminology", creating new tabs (right mouse button + new), and then move from one tab to another one. The terminal window should no longer shrink each time you change to another tab.

Suggested advisory:
========================

Updated terminology package to version 1.1.0 to fix the terminal window shrinking when using multiple tabs.

Updated packages in {core,tainted}/updates_testing:
========================
terminology-1.1.0-1.mga6

Source RPMs: 
terminology-1.1.0-1.mga6.src.rpm
Chris Denice 2017-08-26 10:31:23 CEST

Assignee: tremyfr => qa-bugs

Comment 19 Stig-Ørjan Smelror 2017-08-26 18:46:54 CEST
Tested and gets and OK from me.

Cheers,
Stig
Nicolas Lécureuil 2017-08-26 21:04:29 CEST

Version: Cauldron => 6
CC: (none) => mageia

Comment 20 Len Lawrence 2017-08-27 22:19:29 CEST
mga6  x86_64

Found that the update was already installed.

Launched terminology window, split screen with two tabs each.  Clicking tabs did not always cause a problem but occasionally the window shrank horizontally.  It reached a minimum size.  No vertical shrinking.

So, not completely fixed.

Could not find the package in Tainted Updates nor in Tainted Updates Testing.

rpmfind.net has terminology-1.1.0-1 in Mageia 6 (Release presumably).

CC: (none) => tarazed25

Comment 21 Chris Denice 2017-08-28 17:26:45 CEST
Hi Len,
terminology-1.1.0-1 should have landed only in core/updates_testing, I made a typo in my advisory!

Are you saying that now, when you are switching tabs, the window is shrinking horizontally? If yes, please be more specific, which window-manager are you using? I just cannot reproduce the bug!

Thanks,
Cheers,
Chris.
Comment 22 Len Lawrence 2017-08-28 18:20:19 CEST
Yes, I split the window, fiddled with fonts and added tabs in both halves of the window, making four tabs in all.  Clicking on a tab caused the whole window to shrink horizontally by about 50% so that the tabbed terminals were tall and thin.
I shall experiment some more and also try Plasma and maybe Xfce or GNOME.

Running it from the commandline in Mate (Caja).
Uninstalled it and removed the .config/terminology/config branch and reinstalled.
This time it was found in Updates Testing.

Now it behaves perfectly, in Mate. 
Added a tab.  Resized the whole terminal.  Split the window vertically, which gave 2 tabs and a right-hand window.  Split the right-hand window horizontally and then added a tab to the lower right-hand window to make 5 terminal spaces.  Changed the font to Andale Mono and increased its size.  The changes applied to all sections immediately.  Clicking on any window or tab changed the focus without any shrinkage.

I would say that this is working as designed.  I am tempted to use it regularly.  Skipping the Plasma test.
Len Lawrence 2017-08-28 18:20:51 CEST

Whiteboard: (none) => MGA6-64-OK

Comment 23 Len Lawrence 2017-08-28 18:48:10 CEST
With reference to comment 22:
Cut and paste works also, between tabs and also back and forth between terminology and an external window, an emacs session in this case.

Terminology works fine in a 64bit virtualbox as well.

Installed the update in vbox mga6:i586.
Three tabs, third tab split vertically.  No issues with repeated switching of tabs.  Changed font to Larabiefont and increased the size.
Working perfectly again.

OK for 32-bits.
Len Lawrence 2017-08-28 18:51:12 CEST

Whiteboard: MGA6-64-OK => MGA6-64-OK MGA6-32-OK

Comment 24 Lewis Smith 2017-08-28 20:46:51 CEST
Thanks yet again Len for good tests.
Advisory from comments 18 & 21. Validating.

Whiteboard: MGA6-64-OK MGA6-32-OK => MGA6-64-OK MGA6-32-OK advisory
Keywords: (none) => validated_update
CC: (none) => lewyssmith, sysadmin-bugs

Comment 25 Mageia Robot 2017-08-29 00:48:43 CEST
An update for this issue has been pushed to the Mageia Updates repository.

http://advisories.mageia.org/MGAA-2017-0069.html

Status: REOPENED => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.